Evas GL: Pass calls to getProcAddress down to the engines

Later we need to add a whitelist of supported functions.
This commit is contained in:
Jean-Philippe Andre 2014-10-24 20:48:08 +09:00
parent aff423e3bd
commit cb534366f3
1 changed files with 7 additions and 2 deletions

View File

@ -1202,10 +1202,15 @@ eng_gl_string_query(void *data, int name)
return evgl_string_query(name);
}
// Need to deprecate this function..
static void *
eng_gl_proc_address_get(void *data EINA_UNUSED, const char *name EINA_UNUSED)
eng_gl_proc_address_get(void *data, const char *name)
{
Render_Engine_GL_Generic *re = data;
EVGLINIT(re, NULL);
if (re->evgl_funcs && re->evgl_funcs->proc_address_get)
return re->evgl_funcs->proc_address_get(name);
return NULL;
}