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)