discomfitor pushed a commit to branch master.

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

commit e4960ad6526700720e9613a3dba3e6dab6cdfa62
Author: Mike Blumenkrantz <zm...@osg.samsung.com>
Date:   Mon Apr 4 16:06:52 2016 -0400

    set ELM_ACCEL=gl upon successfully creating a gl wayland compositor
    
    ...successfully
    
    ref 4aecb7ad1465c9cf82773e2006ebd03dc37e09e5
---
 src/bin/e_comp_wl.c | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/src/bin/e_comp_wl.c b/src/bin/e_comp_wl.c
index 16f98cd..2f923b5 100644
--- a/src/bin/e_comp_wl.c
+++ b/src/bin/e_comp_wl.c
@@ -2480,14 +2480,16 @@ _e_comp_wl_gl_init(void *d EINA_UNUSED)
 {
    e_comp_wl->wl.gl = evas_gl_new(e_comp->evas);
    if (!e_comp_wl->wl.gl) return;
-   e_util_env_set("ELM_ACCEL", "gl");
    e_comp_wl->wl.glctx = evas_gl_context_create(e_comp_wl->wl.gl, NULL);
    e_comp_wl->wl.glcfg = evas_gl_config_new();
    e_comp_wl->wl.glsfc = evas_gl_surface_create(e_comp_wl->wl.gl, 
e_comp_wl->wl.glcfg, 1, 1);
    evas_gl_make_current(e_comp_wl->wl.gl, e_comp_wl->wl.glsfc, 
e_comp_wl->wl.glctx);
    e_comp_wl->wl.glapi = evas_gl_context_api_get(e_comp_wl->wl.gl, 
e_comp_wl->wl.glctx);
    if (e_comp_wl->wl.glapi->evasglBindWaylandDisplay)
-     e_comp->gl = 
e_comp_wl->wl.glapi->evasglBindWaylandDisplay(e_comp_wl->wl.gl, 
e_comp_wl->wl.disp);
+     {
+        e_util_env_set("ELM_ACCEL", "gl");
+        e_comp->gl = 
e_comp_wl->wl.glapi->evasglBindWaylandDisplay(e_comp_wl->wl.gl, 
e_comp_wl->wl.disp);
+     }
    else
      _e_comp_wl_gl_shutdown();
 }

-- 


Reply via email to