weston-egl: Allow compilation against older EGL stack

Provide a definition of EGL_BUFFER_AGE_EXT so that you can compile against an
EGL stack that may not yet support that extension.
Rob Bradford 12 years ago committed by Kristian Høgsberg
parent 706d15e2a7
commit 0f3f97d34a
  1. 4
      src/weston-egl-ext.h

@ -58,4 +58,8 @@ typedef EGLBoolean (EGLAPIENTRYP PFNEGLQUERYWAYLANDBUFFERWL) (EGLDisplay dpy, st
#define EGL_TEXTURE_EXTERNAL_WL 0x31DA #define EGL_TEXTURE_EXTERNAL_WL 0x31DA
#endif #endif
#ifndef EGL_BUFFER_AGE_EXT
#define EGL_BUFFER_AGE_EXT 0x313D
#endif
#endif #endif

Loading…
Cancel
Save