forked from enlightenment/enlightenment
Match Ecore_Evas engine enum changes.
SVN revision: 35281
This commit is contained in:
parent
423ed21f61
commit
d6badc27c2
|
@ -56,14 +56,14 @@ e_canvas_engine_decide(int engine)
|
||||||
/* if engine is software-16 - do we support it? */
|
/* if engine is software-16 - do we support it? */
|
||||||
if (engine == E_EVAS_ENGINE_SOFTWARE_X11_16)
|
if (engine == E_EVAS_ENGINE_SOFTWARE_X11_16)
|
||||||
{
|
{
|
||||||
if (!ecore_evas_engine_type_supported_get(ECORE_EVAS_ENGINE_SOFTWARE_16_X11))
|
if (!ecore_evas_engine_type_supported_get(ECORE_EVAS_ENGINE_SOFTWARE_X11_16))
|
||||||
engine = E_EVAS_ENGINE_SOFTWARE_X11;
|
engine = E_EVAS_ENGINE_SOFTWARE_X11;
|
||||||
}
|
}
|
||||||
/* if engine is gl - do we support it? */
|
/* if engine is gl - do we support it? */
|
||||||
if (engine == E_EVAS_ENGINE_GL_X11)
|
if (engine == E_EVAS_ENGINE_GL_X11)
|
||||||
{
|
{
|
||||||
/* if we dont - fall back to software x11 */
|
/* if we dont - fall back to software x11 */
|
||||||
if (!ecore_evas_engine_type_supported_get(ECORE_EVAS_ENGINE_OPENGL_X11))
|
if (!ecore_evas_engine_type_supported_get(ECORE_EVAS_ENGINE_GL_X11))
|
||||||
engine = E_EVAS_ENGINE_SOFTWARE_X11;
|
engine = E_EVAS_ENGINE_SOFTWARE_X11;
|
||||||
}
|
}
|
||||||
/* support xrender? */
|
/* support xrender? */
|
||||||
|
|
|
@ -1801,7 +1801,7 @@ e_config_engine_list(void)
|
||||||
#endif
|
#endif
|
||||||
if (ecore_evas_engine_type_supported_get(ECORE_EVAS_ENGINE_XRENDER_X11))
|
if (ecore_evas_engine_type_supported_get(ECORE_EVAS_ENGINE_XRENDER_X11))
|
||||||
l = evas_list_append(l, strdup("XRENDER"));
|
l = evas_list_append(l, strdup("XRENDER"));
|
||||||
if (ecore_evas_engine_type_supported_get(ECORE_EVAS_ENGINE_SOFTWARE_16_X11))
|
if (ecore_evas_engine_type_supported_get(ECORE_EVAS_ENGINE_SOFTWARE_X11_16))
|
||||||
l = evas_list_append(l, strdup("SOFTWARE_16"));
|
l = evas_list_append(l, strdup("SOFTWARE_16"));
|
||||||
return l;
|
return l;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue