evas: fix work of engine on macOS.

Summary: Update eng_image_free function and check of references.

Reviewers: thiepha, NikaWhite, FurryMyad, raster, cedric

Subscribers: raster, jpeg

Differential Revision: https://phab.enlightenment.org/D4150

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
This commit is contained in:
se.osadchy 2016-07-11 10:54:47 -07:00 committed by Cedric BAIL
parent 5fc4b971dc
commit f796f04aae
1 changed files with 1 additions and 1 deletions

View File

@ -582,7 +582,7 @@ eng_image_free(void *data, void *image)
re = (Render_Engine *)data;
if (!image) return;
eng_window_use(re->win);
evas_gl_common_image_free(image);
evas_gl_common_image_unref(image);
}
static void