Update cocoagl_set_mode

This commit is contained in:
twinaphex 2019-02-10 01:59:08 +01:00
parent 2c9b7c84df
commit 794ab4ef68
1 changed files with 2 additions and 2 deletions

View File

@ -682,7 +682,7 @@ static bool cocoagl_gfx_ctx_set_video_mode(void *data,
#endif #endif
cocoa_ctx_data_t *cocoa_ctx = (cocoa_ctx_data_t*)data; cocoa_ctx_data_t *cocoa_ctx = (cocoa_ctx_data_t*)data;
#if defined(HAVE_COCOA_METAL) #if defined(HAVE_COCOA) || defined(HAVE_COCOA_METAL)
cocoa_ctx->width = width; cocoa_ctx->width = width;
cocoa_ctx->height = height; cocoa_ctx->height = height;
#endif #endif
@ -768,7 +768,7 @@ static bool cocoagl_gfx_ctx_set_video_mode(void *data,
break; break;
} }
#if defined(HAVE_COCOA_METAL) #if defined(HAVE_COCOA) || defined(HAVE_COCOA_METAL)
static bool has_went_fullscreen = false; static bool has_went_fullscreen = false;
/* TODO: Screen mode support. */ /* TODO: Screen mode support. */