Add defines from EXT_robustness
Seem to be missing in the headers used on build.kde.org.
This commit is contained in:
parent
0ef7822d65
commit
ad1203e3b2
1 changed files with 14 additions and 0 deletions
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue