mirror of
https://github.com/libretro/RetroArch.git
synced 2025-02-26 20:55:39 +00:00
Update cocoagl_set_mode
This commit is contained in:
parent
2c9b7c84df
commit
794ab4ef68
@ -682,7 +682,7 @@ static bool cocoagl_gfx_ctx_set_video_mode(void *data,
|
||||
#endif
|
||||
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->height = height;
|
||||
#endif
|
||||
@ -768,7 +768,7 @@ static bool cocoagl_gfx_ctx_set_video_mode(void *data,
|
||||
break;
|
||||
}
|
||||
|
||||
#if defined(HAVE_COCOA_METAL)
|
||||
#if defined(HAVE_COCOA) || defined(HAVE_COCOA_METAL)
|
||||
static bool has_went_fullscreen = false;
|
||||
/* TODO: Screen mode support. */
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user