forked from enlightenment/enlightenment
set comp_gl if we have the correct engines available
Signed-off-by: Chris Michael <cp.michael@samsung.com>
This commit is contained in:
parent
6a06b8d7f2
commit
5137277c93
|
@ -10,6 +10,11 @@
|
||||||
EAPI Eina_Bool
|
EAPI Eina_Bool
|
||||||
e_comp_wl_init(void)
|
e_comp_wl_init(void)
|
||||||
{
|
{
|
||||||
|
/* set gl available if we have ecore_evas support */
|
||||||
|
if (ecore_evas_engine_type_supported_get(ECORE_EVAS_ENGINE_WAYLAND_EGL) ||
|
||||||
|
ecore_evas_engine_type_supported_get(ECORE_EVAS_ENGINE_OPENGL_DRM))
|
||||||
|
e_comp_gl_set(EINA_TRUE);
|
||||||
|
|
||||||
return EINA_FALSE;
|
return EINA_FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue