forked from enlightenment/efl
gl_x11: Working GLES2 fallback.
Summary: Disables GLES3 support when it cannot be determined that it is available. Prevents to repeatly request a (missing) gles3 support and fail. Fixes T3795. Reviewers: jpeg Subscribers: cedric, jpeg Maniphest Tasks: T3795 Differential Revision: https://phab.enlightenment.org/D4014
This commit is contained in:
parent
f3991707be
commit
08585ba0c4
|
@ -866,6 +866,7 @@ eng_best_visual_get(Evas_Engine_Info_GL_X11 *einfo)
|
|||
/* detect GLES 3.x support */
|
||||
if (gles3_supported == -1)
|
||||
{
|
||||
gles3_supported = EINA_FALSE;
|
||||
eglexts = eglQueryString(egl_disp, EGL_EXTENSIONS);
|
||||
if (eglexts && strstr(eglexts, "EGL_KHR_create_context"))
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue