From 0f3f97d34a708976f561f4f5d5eac69c0e5483e2 Mon Sep 17 00:00:00 2001 From: Rob Bradford Date: Fri, 22 Mar 2013 14:15:49 +0000 Subject: [PATCH] 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. --- 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 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