forked from enlightenment/efl
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:
parent
a2e301db71
commit
4315944259
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue