mirror of
https://github.com/brl/mutter.git
synced 2024-12-25 20:32:16 +00:00
cogl: GLES3 has glGetStringi
https://gitlab.gnome.org/GNOME/mutter/merge_requests/882
This commit is contained in:
parent
b70611e3cf
commit
b4226daadb
@ -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);
|
||||
|
||||
|
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user