(Apple) Build fixes (hope I didn't break anything else with that merge)

This commit is contained in:
meancoot 2013-07-07 16:24:28 -04:00
parent b924302464
commit a0d22d7c44
4 changed files with 5 additions and 5 deletions

View File

@ -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,

View File

@ -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,

View File

@ -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.

View File

@ -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)