projects
/
profile
/
ivi
/
weston.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
379d5d9
)
weston-egl: Allow compilation against older EGL stack
author
Rob Bradford
<rob@linux.intel.com>
Fri, 22 Mar 2013 14:15:49 +0000
(14:15 +0000)
committer
Kristian Høgsberg
<krh@bitplanet.net>
Fri, 22 Mar 2013 14:38:16 +0000
(10:38 -0400)
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
patch
|
blob
|
history
diff --git
a/src/weston-egl-ext.h
b/src/weston-egl-ext.h
index
1d4b76b
..
fe02368
100644
(file)
--- 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