summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRob Bradford <rob@linux.intel.com>2013-03-22 14:15:49 +0000
committerKristian Høgsberg <krh@bitplanet.net>2013-03-22 10:26:04 -0400
commit0f3f97d34a708976f561f4f5d5eac69c0e5483e2 (patch)
treebe34e2e48a7a322535cc88c42908ae0f6223eecc
parent706d15e2a7048875f6ebbda529f53cf4a090b935 (diff)
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.
-rw-r--r--src/weston-egl-ext.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/weston-egl-ext.h b/src/weston-egl-ext.h
index 1d4b76bb..fe023683 100644
--- a/src/weston-egl-ext.h
+++ b/src/weston-egl-ext.h
@@ -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