compile with efl 1.7

SVN revision: 77737
This commit is contained in:
Carsten Haitzler 2012-10-10 09:35:42 +00:00
parent b8677593fc
commit cd7d8a6287
2 changed files with 6 additions and 0 deletions

View File

@ -3688,6 +3688,7 @@ _e_mod_comp_add(E_Manager *man)
opt[opt_i] = 1;
opt_i++;
}
#ifdef ECORE_EVAS_GL_X11_OPT_SWAP_MODE
if (_comp_mod->conf->swap_mode)
{
opt[opt_i] = ECORE_EVAS_GL_X11_OPT_SWAP_MODE;
@ -3695,6 +3696,7 @@ _e_mod_comp_add(E_Manager *man)
opt[opt_i] = _comp_mod->conf->swap_mode;
opt_i++;
}
#endif
if (opt_i > 0)
{
opt[opt_i] = ECORE_EVAS_GL_X11_OPT_NONE;

View File

@ -80,7 +80,11 @@ e_mod_comp_cfdata_config_new(void)
cfg->loose_sync = 1;
cfg->grab = 0;
cfg->vsync = 1;
#ifdef ECORE_EVAS_GL_X11_OPT_SWAP_MODE
cfg->swap_mode = ECORE_EVAS_GL_X11_SWAP_MODE_AUTO;
#else
cfg->swap_mode = 0;
#endif
cfg->keep_unmapped = 1;
cfg->send_flush = 1; // implement
cfg->send_dump = 1; // implement