evas: Gl_Cocoa - fix early segfault caused by unloaded symbols
authorJean Guyomarc'h <jean.guyomarch@gmail.com>
Mon, 22 Sep 2014 12:20:31 +0000 (14:20 +0200)
committerCedric BAIL <cedric@osg.samsung.com>
Mon, 22 Sep 2014 12:59:27 +0000 (14:59 +0200)
commitffb518fcdd7982290cd5e8d1d1b64a6bb4825bfb
treee064076155acb92a971c36dfe70dbf565d859cd1
parentabb03f76c4a3e3f697ae1813b784ff8fcf1f66a7
evas: Gl_Cocoa - fix early segfault caused by unloaded symbols

Summary:
evas_gl_symbols() (introduced in commit 9a9d78d) was not dlsym()ed
which led to unloaded symbols, so NULL function pointers which were happily
dereferenced, leading to an early segfault, and therefore to a broken engine.

@fix

Reviewers: cedric, raoulh

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D1440

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