aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/evas/canvas/evas_object_image.c
diff options
context:
space:
mode:
authorJean-Philippe Andre <jp.andre@samsung.com>2015-07-20 15:24:04 +0900
committerJean-Philippe Andre <jp.andre@samsung.com>2015-07-23 10:34:15 +0900
commitfcde390fa4c39271b2202bac62141e4fc4b0d464 (patch)
tree74254691e991c1cfc8e8c0d7e3ee99485ed0b418 /src/lib/evas/canvas/evas_object_image.c
parentRevert "Eolian: fix eolian helper for windows." (diff)
downloadefl-fcde390fa4c39271b2202bac62141e4fc4b0d464.tar.gz
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).
Diffstat (limited to 'src/lib/evas/canvas/evas_object_image.c')
-rw-r--r--src/lib/evas/canvas/evas_object_image.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/lib/evas/canvas/evas_object_image.c b/src/lib/evas/canvas/evas_object_image.c
index 2825abd112..8956f815bf 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
{