mirror of
https://github.com/libretro/RetroArch
synced 2025-04-11 00:44:20 +00:00
cocoagl_gfx_ctx_set_video_mode - go through [CocoaView get] here
This commit is contained in:
parent
bac58c99c4
commit
387e18b528
@ -680,7 +680,7 @@ static bool cocoagl_gfx_ctx_set_video_mode(void *data,
|
|||||||
#if defined(HAVE_COCOA_METAL)
|
#if defined(HAVE_COCOA_METAL)
|
||||||
NSView *g_view = apple_platform.renderView;
|
NSView *g_view = apple_platform.renderView;
|
||||||
#elif defined(HAVE_COCOA)
|
#elif defined(HAVE_COCOA)
|
||||||
CocoaView *g_view = (CocoaView*)nsview_get_ptr();
|
CocoaView *g_view = [CocoaView get];
|
||||||
#endif
|
#endif
|
||||||
#if defined(HAVE_COCOA) || defined(HAVE_COCOA_METAL)
|
#if defined(HAVE_COCOA) || defined(HAVE_COCOA_METAL)
|
||||||
cocoa_ctx_data_t *cocoa_ctx = (cocoa_ctx_data_t*)data;
|
cocoa_ctx_data_t *cocoa_ctx = (cocoa_ctx_data_t*)data;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user