From 8818eb8ccacf056f795d78a41136495e1230f0e3 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Sun, 19 Apr 2015 17:27:51 +0200 Subject: [PATCH] (Video context driver) gfx_ctx_apple should become gfx_ctx_cocoa --- gfx/video_context_driver.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/gfx/video_context_driver.c b/gfx/video_context_driver.c index 2d8758b7d6..6b6d17f2bc 100644 --- a/gfx/video_context_driver.c +++ b/gfx/video_context_driver.c @@ -59,8 +59,7 @@ static const gfx_ctx_driver_t *gfx_ctx_drivers[] = { #if defined(__QNX__) &gfx_ctx_bbqnx, #endif -#if defined(IOS) || defined(OSX) - /* Don't use __APPLE__ as it breaks basic SDL builds. */ +#if defined(HAVE_COCOA) || defined(HAVE_COCOATOUCH) &gfx_ctx_apple, #endif #if (defined(HAVE_SDL) || defined(HAVE_SDL2)) && defined(HAVE_OPENGL)