evas: fix build of gl_cocoa engine.
authorNicolas Aguirre <aguirre.nicolas@gmail.com>
Thu, 24 Sep 2015 14:21:30 +0000 (16:21 +0200)
committerCedric BAIL <cedric@osg.samsung.com>
Tue, 13 Oct 2015 22:40:01 +0000 (15:40 -0700)
__context_restore and __need_context_restore are undefined when
building gl_cocoa engine.

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

index f5bf6e3..312f5ff 100644 (file)
@@ -60,7 +60,12 @@ static Evas_Func func, pfunc;
 /* Function table for GL APIs */
 static Evas_GL_API gl_funcs;
 
+Eina_Bool _need_context_restore = EINA_FALSE;
 
+void
+_context_restore(void)
+{
+}
 
 static void *
 eng_info(Evas *e EINA_UNUSED)