From 5137277c93de21857cd91c24fc2cb060c9029b2d Mon Sep 17 00:00:00 2001 From: Chris Michael Date: Tue, 14 Oct 2014 13:53:25 -0400 Subject: [PATCH] set comp_gl if we have the correct engines available Signed-off-by: Chris Michael --- src/bin/e_comp_wl.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/bin/e_comp_wl.c b/src/bin/e_comp_wl.c index e99b1f1a5..d8dc40732 100644 --- a/src/bin/e_comp_wl.c +++ b/src/bin/e_comp_wl.c @@ -10,6 +10,11 @@ EAPI Eina_Bool 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; }