devilhorns pushed a commit to branch master.

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

commit d1e90c3af7fde393a3f06451d16d04443a738bb9
Author: kabeer khan <[email protected]>
Date:   Thu Jan 15 13:27:52 2015 -0500

    wl_drm: create ecore_evas for drm gl backend
    
    Summary: Signed-off-by: kabeer khan <[email protected]>
    
    Reviewers: devilhorns
    
    Subscribers: cedric
    
    Differential Revision: https://phab.enlightenment.org/D1871
---
 src/modules/wl_drm/e_mod_main.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/src/modules/wl_drm/e_mod_main.c b/src/modules/wl_drm/e_mod_main.c
index 4025a7e..118f9ef 100644
--- a/src/modules/wl_drm/e_mod_main.c
+++ b/src/modules/wl_drm/e_mod_main.c
@@ -76,8 +76,9 @@ e_modapi_init(E_Module *m)
    if ((e_comp_gl_get()) &&
        (e_comp_config_get()->engine == E_COMP_ENGINE_GL))
      {
-        /* TOOD: create ecore_evas for new drm gl backend */
-        /* NB: If that fails, call e_comp_gl_set(EINA_FALSE) */
+        comp->ee == ecore_evas_gl_drm_new(NULL, 0, 0, 0, 1, 1);
+        if(!comp->ee)
+          e_comp_gl_set(EINA_FALSE);
      }
 
    /* fallback to framebuffer drm (non-accel) */

-- 


Reply via email to