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 <cedric@osg.samsung.com>
This commit is contained in:
Nicolas Aguirre 2015-09-24 16:21:30 +02:00 committed by Cedric BAIL
parent 44e945abbb
commit d363b88b1c
1 changed files with 5 additions and 0 deletions

View 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)