devilhorns pushed a commit to branch master.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=5137277c93de21857cd91c24fc2cb060c9029b2d

commit 5137277c93de21857cd91c24fc2cb060c9029b2d
Author: Chris Michael <[email protected]>
Date:   Tue Oct 14 13:53:25 2014 -0400

    set comp_gl if we have the correct engines available
    
    Signed-off-by: Chris Michael <[email protected]>
---
 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 e99b1f1..d8dc407 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;
 }
 

-- 


Reply via email to