evas: fix gl_cocoa build after recent changes in evas_common_draw_context_font_ext_set.
authorNicolas Aguirre <aguirre.nicolas@gmail.com>
Thu, 26 Mar 2015 17:08:14 +0000 (18:08 +0100)
committerCedric BAIL <cedric@osg.samsung.com>
Fri, 27 Mar 2015 17:29:38 +0000 (18:29 +0100)
Now evas_common_draw_context_font_ext_set takes 3 more parameters, fix the build
by adding NULL for the function pointers. We really need to switch to gl_generic
here, it would avoid this kind of problems.

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
src/modules/evas/engines/gl_cocoa/evas_engine.c

index fc660b6..4acca80 100644 (file)
@@ -1046,14 +1046,20 @@ eng_font_draw(void *data, void *context, void *surface, Evas_Font_Set *font EINA
                                              re->win->gl_context,
                                              evas_gl_font_texture_new,
                                              evas_gl_font_texture_free,
-                                             evas_gl_font_texture_draw);
+                                             evas_gl_font_texture_draw,
+                                              NULL,
+                                              NULL,
+                                              NULL);
            evas_common_font_draw_prepare(intl_props);
            evas_common_font_draw(im, context, x, y, intl_props->glyphs);
            evas_common_draw_context_font_ext_set(context,
                                              NULL,
                                              NULL,
                                              NULL,
-                                             NULL);
+                                              NULL,
+                                              NULL,
+                                              NULL,
+                                              NULL);
      }
 
    return EINA_FALSE;