force maximum throughput with latest Ecore_Evas change.

This commit is contained in:
Cedric BAIL 2016-12-27 10:50:05 -08:00
parent e2a2ef4f86
commit cd80106f54
1 changed files with 4 additions and 3 deletions

View File

@ -1238,6 +1238,10 @@ main(int argc, char **argv)
};
setenv("ECORE_NO_VSYNC", "1", 0);
setenv("ECORE_EVAS_RENDER_NOSYNC", "1", 1);
if (!async)
setenv("ECORE_EVAS_FORCE_SYNC_RENDER", "1", 0);
if (!ecore_evas_init()) return -1;
@ -1277,9 +1281,6 @@ main(int argc, char **argv)
profile = resolution;
}
if (!async)
setenv("ECORE_EVAS_FORCE_SYNC_RENDER", "1", 0);
if (!datadir)
datadir = getenv("EXPEDITE_FONTS_DIR");
if (!datadir)