diff --git a/cogl/cogl/driver/gl/gles/cogl-driver-gles.c b/cogl/cogl/driver/gl/gles/cogl-driver-gles.c index fc04c8c91..09c9dd788 100644 --- a/cogl/cogl/driver/gl/gles/cogl-driver-gles.c +++ b/cogl/cogl/driver/gl/gles/cogl-driver-gles.c @@ -253,6 +253,10 @@ _cogl_driver_update_features (CoglContext *context, (void *) _cogl_renderer_get_proc_address (context->display->renderer, "glGetString", TRUE); + context->glGetStringi = + (void *) _cogl_renderer_get_proc_address (context->display->renderer, + "glGetStringi", + TRUE); gl_extensions = _cogl_context_get_gl_extensions (context); diff --git a/cogl/cogl/gl-prototypes/cogl-all-functions.h b/cogl/cogl/gl-prototypes/cogl-all-functions.h index 512b6d4ce..80d60702d 100644 --- a/cogl/cogl/gl-prototypes/cogl-all-functions.h +++ b/cogl/cogl/gl-prototypes/cogl-all-functions.h @@ -181,7 +181,7 @@ COGL_EXT_FUNCTION (void, glSamplerParameteri, COGL_EXT_END () COGL_EXT_BEGIN (only_gl3, 3, 0, - 0, /* not in either GLES */ + COGL_EXT_IN_GLES3, "\0", "\0") COGL_EXT_FUNCTION (const GLubyte *, glGetStringi,