Evas: Really use GLES3 by default (fix logic)

I enabled gles3 by default in a previous commit but apparently my
logic was all wrong and it fell back to gles2.
This commit is contained in:
Jean-Philippe Andre 2015-03-18 10:04:27 +09:00
parent a2e301db71
commit 4315944259
1 changed files with 1 additions and 1 deletions

View File

@ -772,7 +772,7 @@ eng_best_visual_get(Evas_Engine_Info_GL_X11 *einfo)
}
if (gles3_supported &&
(!(s = getenv("EVAS_GL_DISABLE_GLES3")) || (atoi(s) != 1)))
((s = getenv("EVAS_GL_DISABLE_GLES3")) && (atoi(s) == 1)))
{
INF("Disabling OpenGL ES 3.x support.");
gles3_supported = EINA_FALSE;