From 940f2e72f934ba1987b3326b7b8655b66d41af9d Mon Sep 17 00:00:00 2001 From: Nicolas Aguirre Date: Thu, 26 Mar 2015 18:08:14 +0100 Subject: [PATCH] evas: fix gl_cocoa build after recent changes in evas_common_draw_context_font_ext_set. 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 --- src/modules/evas/engines/gl_cocoa/evas_engine.c | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/src/modules/evas/engines/gl_cocoa/evas_engine.c b/src/modules/evas/engines/gl_cocoa/evas_engine.c index fc660b6c98..4acca80744 100644 --- a/src/modules/evas/engines/gl_cocoa/evas_engine.c +++ b/src/modules/evas/engines/gl_cocoa/evas_engine.c @@ -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;