fix(metal): Enable GL context for HAVE_COCOA_METAL

This commit is contained in:
Stuart Carnie 2018-11-05 06:54:46 -07:00
parent 73e7a0760a
commit 3a64ddc287
No known key found for this signature in database
GPG Key ID: 848D9C9718D78B4F

View File

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