diff --git a/cogl/cogl/cogl-context.c b/cogl/cogl/cogl-context.c index c45c9b44b..70d220659 100644 --- a/cogl/cogl/cogl-context.c +++ b/cogl/cogl/cogl-context.c @@ -81,6 +81,19 @@ #define GL_PURGED_CONTEXT_RESET_NV 0x92BB #endif +/* These aren't defined in the GLES2 headers */ +#ifndef GL_GUILTY_CONTEXT_RESET_ARB +#define GL_GUILTY_CONTEXT_RESET_ARB 0x8253 +#endif + +#ifndef GL_INNOCENT_CONTEXT_RESET_ARB +#define GL_INNOCENT_CONTEXT_RESET_ARB 0x8254 +#endif + +#ifndef GL_UNKNOWN_CONTEXT_RESET_ARB +#define GL_UNKNOWN_CONTEXT_RESET_ARB 0x8255 +#endif + static void _cogl_context_free (CoglContext *context); COGL_OBJECT_DEFINE (Context, context);