diff --git a/clients/simple-egl.c b/clients/simple-egl.c index a557fca5..1fd41379 100644 --- a/clients/simple-egl.c +++ b/clients/simple-egl.c @@ -38,13 +38,16 @@ #include #include -#include - #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); #endif +#ifndef EGL_EXT_buffer_age +#define EGL_EXT_buffer_age 1 +#define EGL_BUFFER_AGE_EXT 0x313D +#endif + struct window; struct seat;