mirror of
https://github.com/libretro/RetroArch
synced 2025-03-24 22:43:41 +00:00
(Apple) Build fixes (hope I didn't break anything else with that merge)
This commit is contained in:
parent
b924302464
commit
a0d22d7c44
@ -93,7 +93,7 @@ static void gfx_ctx_input_driver(const input_driver_t **input, void **input_data
|
||||
|
||||
// The apple_* functions are implemented in apple/RetroArch/RAGameView.m
|
||||
|
||||
const gfx_ctx_driver_t gfx_ctx_ios = {
|
||||
const gfx_ctx_driver_t gfx_ctx_apple = {
|
||||
apple_init_game_view,
|
||||
apple_destroy_game_view,
|
||||
gfx_ctx_bind_api,
|
||||
|
@ -49,7 +49,7 @@ static const gfx_ctx_driver_t *gfx_ctx_drivers[] = {
|
||||
&gfx_ctx_bbqnx,
|
||||
#endif
|
||||
#if defined(IOS) || defined(OSX) //< Don't use __APPLE__ as it breaks basic SDL builds
|
||||
&gfx_ctx_ios,
|
||||
&gfx_ctx_apple,
|
||||
#endif
|
||||
#if defined(HAVE_SDL) && defined(HAVE_OPENGL)
|
||||
&gfx_ctx_sdl_gl,
|
||||
|
@ -107,7 +107,7 @@ extern const gfx_ctx_driver_t gfx_ctx_xdk;
|
||||
extern const gfx_ctx_driver_t gfx_ctx_wgl;
|
||||
extern const gfx_ctx_driver_t gfx_ctx_videocore;
|
||||
extern const gfx_ctx_driver_t gfx_ctx_bbqnx;
|
||||
extern const gfx_ctx_driver_t gfx_ctx_ios;
|
||||
extern const gfx_ctx_driver_t gfx_ctx_apple;
|
||||
extern const gfx_ctx_driver_t gfx_ctx_null;
|
||||
|
||||
const gfx_ctx_driver_t *gfx_ctx_find_driver(const char *ident); // Finds driver with ident. Does not initialize.
|
||||
|
@ -107,8 +107,8 @@ VIDEO CONTEXT
|
||||
#include "../gfx/context/androidegl_ctx.c"
|
||||
#elif defined(__BLACKBERRY_QNX__)
|
||||
#include "../gfx/context/bbqnx_ctx.c"
|
||||
#elif defined(IOS)
|
||||
#include "../gfx/context/ioseagl_ctx.c"
|
||||
#elif defined(IOS) || defined(OSX)
|
||||
#include "../gfx/context/apple_gl_ctx.c"
|
||||
#endif
|
||||
|
||||
#if defined(HAVE_OPENGL)
|
||||
|
Loading…
x
Reference in New Issue
Block a user