(iOS) No EGL on iOS, and couldn't find an equivalent AGL version of eglGetProcAddress -

so NULLing out for now
This commit is contained in:
twinaphex 2013-05-12 15:09:49 +02:00
parent 40fe365e90
commit f5d9d5042d

View File

@ -85,17 +85,6 @@ static void gfx_ctx_input_driver(const input_driver_t **input, void **input_data
*input_data = NULL;
}
static gfx_ctx_proc_t gfx_ctx_get_proc_address(const char *symbol)
{
rarch_assert(sizeof(void*) == sizeof(void (*)(void)));
gfx_ctx_proc_t ret;
void *sym__ = eglGetProcAddress(symbol);
memcpy(&ret, &sym__, sizeof(void*));
return ret;
}
// The ios_* functions are implemented in ios/RetroArch/RAGameView.m
const gfx_ctx_driver_t gfx_ctx_ios = {
@ -112,7 +101,7 @@ const gfx_ctx_driver_t gfx_ctx_ios = {
gfx_ctx_has_focus,
ios_flip_game_view,
gfx_ctx_input_driver,
gfx_ctx_get_proc_address,
NULL,
NULL,
"ios",
};