kwin-gles: define EGL_POST_SUB_BUFFER_SUPPORTED_NV if it's not there

This fixes the build with older versions of eglext.h.

REVIEW: 102915
icc-effect-5.14.5
Pierre-Loup A. Griffais 2011-10-18 23:40:59 -07:00 committed by Martin Gräßlin
parent 2570e9ec61
commit 7fff9705b4
1 changed files with 4 additions and 0 deletions

View File

@ -350,6 +350,10 @@ extern KWIN_EXPORT glVertexAttribPointer_func glVertexAttribPointer;
#include <EGL/eglext.h>
#include <fixx11h.h>
#ifndef EGL_POST_SUB_BUFFER_SUPPORTED_NV
#define EGL_POST_SUB_BUFFER_SUPPORTED_NV 0x30BE
#endif
namespace KWin
{