comp can only set native surface with gl, so only try setting based on gl
authorMike Blumenkrantz <zmike@samsung.com>
Sat, 10 May 2014 17:37:07 +0000 (13:37 -0400)
committerMike Blumenkrantz <zmike@samsung.com>
Sat, 10 May 2014 21:18:08 +0000 (17:18 -0400)
src/bin/e_comp_object.c

index 5f859e8..2c7467e 100644 (file)
@@ -3109,7 +3109,7 @@ _e_comp_object_dirty(Eo *obj, E_Comp_Object *cw)
         ERR("ERROR FETCHING PIXMAP FOR %p", cw->ec);
         return;
      }
-   e_comp_object_native_surface_set(obj, 1);
+   e_comp_object_native_surface_set(obj, e_comp_gl_get());
    it = eina_tiler_iterator_new(cw->updates);
    EINA_ITERATOR_FOREACH(it, r)
      {