commit | 0f3f97d34a708976f561f4f5d5eac69c0e5483e2 | [log] [tgz] |
---|---|---|
author | Rob Bradford <rob@linux.intel.com> | Fri Mar 22 14:15:49 2013 +0000 |
committer | Kristian Høgsberg <krh@bitplanet.net> | Fri Mar 22 10:26:04 2013 -0400 |
tree | be34e2e48a7a322535cc88c42908ae0f6223eecc | |
parent | 706d15e2a7048875f6ebbda529f53cf4a090b935 [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.
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 @@ #define EGL_TEXTURE_EXTERNAL_WL 0x31DA #endif +#ifndef EGL_BUFFER_AGE_EXT +#define EGL_BUFFER_AGE_EXT 0x313D +#endif + #endif