jpeg pushed a commit to branch master.

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

commit fcde390fa4c39271b2202bac62141e4fc4b0d464
Author: Jean-Philippe Andre <jp.an...@samsung.com>
Date:   Mon Jul 20 15:24:04 2015 +0900

    Evas GL: Add missing call in case of direct rendering
    
    I spotted this by looking at the code in a different branch (that
    was tested on real hardware).
---
 src/lib/evas/canvas/evas_object_image.c | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/src/lib/evas/canvas/evas_object_image.c 
b/src/lib/evas/canvas/evas_object_image.c
index 2825abd..8956f81 100644
--- a/src/lib/evas/canvas/evas_object_image.c
+++ b/src/lib/evas/canvas/evas_object_image.c
@@ -3116,7 +3116,10 @@ evas_process_dirty_pixels(Evas_Object *eo_obj, 
Evas_Object_Protected_Data *obj,
              if (direct_override && !direct_force_off)
                {
                   // always use direct rendering
-                  ENFN->gl_get_pixels_set(output, o->pixels->func.get_pixels, 
o->pixels->func.get_pixels_data, eo_obj);
+                  if (ENFN->gl_get_pixels_set)
+                    ENFN->gl_get_pixels_set(output, 
o->pixels->func.get_pixels, o->pixels->func.get_pixels_data, eo_obj);
+                  if (ENFN->gl_image_direct_set)
+                    ENFN->gl_image_direct_set(output, o->engine_data, 
EINA_TRUE);
                }
              else
                {

-- 


Reply via email to