[PATCH simple-egl] fix compile error when EGL_BUFFER_AGE_EXT is missing

Adrian Negreanu groleo at gmail.com
Mon Aug 12 06:30:11 PDT 2013


From: Adrian Negreanu <adrian.m.negreanu at intel.com>

Signed-off-by: Adrian Negreanu <adrian.m.negreanu at intel.com>
---
 clients/simple-egl.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/clients/simple-egl.c b/clients/simple-egl.c
index 54dfe93..4eeba02 100644
--- a/clients/simple-egl.c
+++ b/clients/simple-egl.c
@@ -38,6 +38,8 @@
 #include <EGL/egl.h>
 #include <EGL/eglext.h>
 
+#include <src/weston-egl-ext.h>
+
 #ifndef EGL_EXT_swap_buffers_with_damage
 #define EGL_EXT_swap_buffers_with_damage 1
 typedef EGLBoolean (EGLAPIENTRYP PFNEGLSWAPBUFFERSWITHDAMAGEEXTPROC)(EGLDisplay dpy, EGLSurface surface, EGLint *rects, EGLint n_rects);
-- 
1.8.0



More information about the wayland-devel mailing list