evas_gl_cocoa: update function parameters
authorJean Guyomarc'h <jean.guyomarch@gmail.com>
Wed, 6 Jan 2016 22:48:01 +0000 (23:48 +0100)
committerStefan Schmidt <stefan@osg.samsung.com>
Thu, 7 Jan 2016 11:03:04 +0000 (12:03 +0100)
Commit fd4e133cc1af3351b79946cfb1bc6d79feec9d30 changed the internal
API, but it was not reflected in evas_gl_cocoa.

This commit fix a compiling warning and possible undetermined behaviour.

@fix

src/modules/evas/engines/gl_cocoa/evas_engine.c

index 6e7ab62..f67ecd1 100644 (file)
@@ -692,7 +692,7 @@ eng_image_dirty_region(void *data, void *image, int x, int y, int w, int h)
 }
 
 static void *
-eng_image_data_get(void *data, void *image, int to_write, DATA32 **image_data, int *err)
+eng_image_data_get(void *data, void *image, int to_write, DATA32 **image_data, int *err, Eina_Bool *tofree EINA_UNUSED)
 {
    Render_Engine *re;
    Evas_GL_Image *im;