From f5d9d5042daee8337f29fd382f5b85f1f1e85b8f Mon Sep 17 00:00:00 2001 From: twinaphex Date: Sun, 12 May 2013 15:09:49 +0200 Subject: [PATCH] (iOS) No EGL on iOS, and couldn't find an equivalent AGL version of eglGetProcAddress - so NULLing out for now --- gfx/context/ioseagl_ctx.c | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/gfx/context/ioseagl_ctx.c b/gfx/context/ioseagl_ctx.c index b5d6ac749d..1e4fd81281 100644 --- a/gfx/context/ioseagl_ctx.c +++ b/gfx/context/ioseagl_ctx.c @@ -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", };