fix compile error when EGL_BUFFER_AGE_EXT is missing

Signed-off-by: Adrian Negreanu <adrian.m.negreanu@intel.com>
This commit is contained in:
Adrian Negreanu 2013-08-12 16:30:11 +03:00 committed by Kristian Høgsberg
parent 5325b38dc8
commit 80ab6e2aa8

View file

@ -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);