From 3a64ddc28703936d07aec3ed6789352334490d36 Mon Sep 17 00:00:00 2001 From: Stuart Carnie Date: Mon, 5 Nov 2018 06:54:46 -0700 Subject: [PATCH] fix(metal): Enable GL context for HAVE_COCOA_METAL --- gfx/video_driver.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gfx/video_driver.c b/gfx/video_driver.c index d7824f6429..07d6ffea55 100644 --- a/gfx/video_driver.c +++ b/gfx/video_driver.c @@ -395,7 +395,7 @@ static const gfx_ctx_driver_t *gfx_ctx_drivers[] = { #if defined(__QNX__) &gfx_ctx_qnx, #endif -#if defined(HAVE_COCOA) || defined(HAVE_COCOATOUCH) +#if defined(HAVE_COCOA) || defined(HAVE_COCOATOUCH) || defined(HAVE_COCOA_METAL) &gfx_ctx_cocoagl, #endif #if defined(__APPLE__) && !defined(TARGET_IPHONE_SIMULATOR) && !defined(TARGET_OS_IPHONE)