cogl: GLES3 has glGetStringi

https://gitlab.gnome.org/GNOME/mutter/merge_requests/882
This commit is contained in:
Adam Jackson 2019-10-22 18:50:47 -04:00 committed by Jonas Ådahl
parent b70611e3cf
commit b4226daadb
2 changed files with 5 additions and 1 deletions

View File

@ -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);

View File

@ -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,