summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJean-Philippe Andre <jp.andre@samsung.com>2014-10-24 20:48:08 +0900
committerJean-Philippe Andre <jp.andre@samsung.com>2014-11-14 10:43:00 +0900
commitcb534366f347e324bed9f3206c32383dd18a3f65 (patch)
treeccf5b04b7a7f1c2cdf308e8b8cfcebd627230b29
parentaff423e3bd6d360563336542e3736f500d4071f7 (diff)
Evas GL: Pass calls to getProcAddress down to the engines
Later we need to add a whitelist of supported functions.
-rw-r--r--src/modules/evas/engines/gl_generic/evas_engine.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/modules/evas/engines/gl_generic/evas_engine.c b/src/modules/evas/engines/gl_generic/evas_engine.c
index 0bbc36f168..b94c469199 100644
--- a/src/modules/evas/engines/gl_generic/evas_engine.c
+++ b/src/modules/evas/engines/gl_generic/evas_engine.c
@@ -1202,10 +1202,15 @@ eng_gl_string_query(void *data, int name)
1202 return evgl_string_query(name); 1202 return evgl_string_query(name);
1203} 1203}
1204 1204
1205// Need to deprecate this function..
1206static void * 1205static void *
1207eng_gl_proc_address_get(void *data EINA_UNUSED, const char *name EINA_UNUSED) 1206eng_gl_proc_address_get(void *data, const char *name)
1208{ 1207{
1208 Render_Engine_GL_Generic *re = data;
1209 EVGLINIT(re, NULL);
1210
1211 if (re->evgl_funcs && re->evgl_funcs->proc_address_get)
1212 return re->evgl_funcs->proc_address_get(name);
1213
1209 return NULL; 1214 return NULL;
1210} 1215}
1211 1216