[PATCH weston] weston-egl: Allow compilation against older EGL stack

Rob Bradford robert.bradford at intel.com
Fri Mar 22 07:15:49 PDT 2013


From: Rob Bradford <rob at linux.intel.com>

Provide a definition of EGL_BUFFER_AGE_EXT so that you can compile against an
EGL stack that may not yet support that extension.
---
 src/weston-egl-ext.h | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/weston-egl-ext.h b/src/weston-egl-ext.h
index 1d4b76b..fe02368 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
-- 
1.8.1.2



More information about the wayland-devel mailing list