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
This commit is contained in:
Pierre-Loup A. Griffais 2011-10-18 23:40:59 -07:00 committed by Martin Gräßlin
parent 2570e9ec61
commit 7fff9705b4

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
{