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:
Benjamin Jacobs 2016-06-07 13:58:13 +09:00 committed by Jean-Philippe Andre
parent f3991707be
commit 08585ba0c4
1 changed files with 1 additions and 0 deletions

View File

@ -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"))
{