forked from enlightenment/efl
evas/canvas - Update the pointer to engine_data after pixels_get().
The "pixels" pointer was set in the beginning of evas_object_image_render(), and never updated, even after pixels_get() changed the content of o->engine_data. This patch updates that pointer if it becomes different from engine_data. SVN revision: 63090
This commit is contained in:
parent
4f844f63f5
commit
92b98ad145
|
@ -2798,6 +2798,8 @@ evas_object_image_render(Evas_Object *obj, void *output, void *context, void *su
|
|||
if (o->func.get_pixels)
|
||||
{
|
||||
o->func.get_pixels(o->func.get_pixels_data, obj);
|
||||
if (o->engine_data != pixels)
|
||||
pixels = o->engine_data;
|
||||
o->engine_data = obj->layer->evas->engine.func->image_dirty_region
|
||||
(obj->layer->evas->engine.data.output, o->engine_data,
|
||||
0, 0, o->cur.image.w, o->cur.image.h);
|
||||
|
|
Loading…
Reference in New Issue