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
This commit is contained in:
Mike Blumenkrantz 2015-11-02 15:54:38 -05:00
parent e7d534ad80
commit 35d0279d4f
1 changed files with 1 additions and 1 deletions

View File

@ -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)
{