forked from enlightenment/enlightenment
dont really need env var anymore - sync options work.
SVN revision: 61630
This commit is contained in:
parent
2ab11c2137
commit
82d078956a
|
@ -3098,16 +3098,7 @@ _e_mod_comp_add(E_Manager *man)
|
|||
|
||||
c = calloc(1, sizeof(E_Comp));
|
||||
if (!c) return NULL;
|
||||
|
||||
if (_comp_mod->conf->vsync)
|
||||
{
|
||||
e_util_env_set("__GL_SYNC_TO_VBLANK", "1");
|
||||
}
|
||||
else
|
||||
{
|
||||
e_util_env_set("__GL_SYNC_TO_VBLANK", NULL);
|
||||
}
|
||||
|
||||
|
||||
ecore_x_e_comp_sync_supported_set(man->root, _comp_mod->conf->efl_sync);
|
||||
|
||||
c->man = man;
|
||||
|
|
Loading…
Reference in New Issue