mirror of
https://github.com/libretro/RetroArch
synced 2025-02-15 18:39:55 +00:00
(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:
parent
40fe365e90
commit
f5d9d5042d
@ -85,17 +85,6 @@ static void gfx_ctx_input_driver(const input_driver_t **input, void **input_data
|
|||||||
*input_data = NULL;
|
*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
|
// The ios_* functions are implemented in ios/RetroArch/RAGameView.m
|
||||||
|
|
||||||
const gfx_ctx_driver_t gfx_ctx_ios = {
|
const gfx_ctx_driver_t gfx_ctx_ios = {
|
||||||
@ -112,7 +101,7 @@ const gfx_ctx_driver_t gfx_ctx_ios = {
|
|||||||
gfx_ctx_has_focus,
|
gfx_ctx_has_focus,
|
||||||
ios_flip_game_view,
|
ios_flip_game_view,
|
||||||
gfx_ctx_input_driver,
|
gfx_ctx_input_driver,
|
||||||
gfx_ctx_get_proc_address,
|
NULL,
|
||||||
NULL,
|
NULL,
|
||||||
"ios",
|
"ios",
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user