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.
This commit is contained in:
Rob Bradford 2013-03-22 14:15:49 +00:00 committed by Kristian Høgsberg
parent 706d15e2a7
commit 0f3f97d34a

View File

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