cedric pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=d363b88b1c98716db51d55a6c58ee144904e2582

commit d363b88b1c98716db51d55a6c58ee144904e2582
Author: Nicolas Aguirre <aguirre.nico...@gmail.com>
Date:   Thu Sep 24 16:21:30 2015 +0200

    evas: fix build of gl_cocoa engine.
    
    __context_restore and __need_context_restore are undefined when
    building gl_cocoa engine.
    
    Signed-off-by: Cedric BAIL <ced...@osg.samsung.com>
---
 src/modules/evas/engines/gl_cocoa/evas_engine.c | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/src/modules/evas/engines/gl_cocoa/evas_engine.c 
b/src/modules/evas/engines/gl_cocoa/evas_engine.c
index f5bf6e3..312f5ff 100644
--- a/src/modules/evas/engines/gl_cocoa/evas_engine.c
+++ b/src/modules/evas/engines/gl_cocoa/evas_engine.c
@@ -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)

-- 


Reply via email to