Add defines from EXT_robustness

Seem to be missing in the headers used on build.kde.org.
This commit is contained in:
Martin Gräßlin 2013-05-23 08:38:16 +02:00
parent 0ef7822d65
commit ad1203e3b2

View file

@ -464,6 +464,20 @@ extern KWIN_EXPORT glGetnUniformfv_func glGetnUniformfv;
#ifdef KWIN_HAVE_OPENGLES
#include <GLES2/gl2.h>
#include <GLES2/gl2ext.h>
// see http://www.khronos.org/registry/gles/extensions/EXT/EXT_robustness.txt
#ifndef GL_GUILTY_CONTEXT_RESET_EXT
#define GL_GUILTY_CONTEXT_RESET_EXT 0x8253
#endif
#ifndef GL_INNOCENT_CONTEXT_RESET_EXT
#define GL_INNOCENT_CONTEXT_RESET_EXT 0x8254
#endif
#ifndef GL_UNKNOWN_CONTEXT_RESET_EXT
#define GL_UNKNOWN_CONTEXT_RESET_EXT 0x8255
#endif
#endif
#include <EGL/egl.h>