discomfitor pushed a commit to branch master.

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

commit 35d0279d4f916f651d080155aae04cf24fc23d79
Author: Mike Blumenkrantz <zm...@osg.samsung.com>
Date:   Mon Nov 2 15:54:38 2015 -0500

    use e_comp->gl flag to set native surface state
    
    e_comp_gl_get() is for determining if gl exists, not if it's being used
---
 src/bin/e_comp_object.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/bin/e_comp_object.c b/src/bin/e_comp_object.c
index c248d7f..fd411bd 100644
--- a/src/bin/e_comp_object.c
+++ b/src/bin/e_comp_object.c
@@ -3583,7 +3583,7 @@ e_comp_object_dirty(Evas_Object *obj)
         ERR("ERROR FETCHING PIXMAP FOR %p", cw->ec);
         return;
      }
-   e_comp_object_native_surface_set(obj, e_comp_gl_get());
+   e_comp_object_native_surface_set(obj, e_comp->gl);
    it = eina_tiler_iterator_new(cw->updates);
    EINA_ITERATOR_FOREACH(it, rect)
      {

-- 


Reply via email to