mirror of
https://github.com/libretro/RetroArch
synced 2025-02-07 03:40:24 +00:00
(OSX) Simplify
This commit is contained in:
parent
882a66b49a
commit
107b5eec44
@ -757,11 +757,7 @@ static void ui_companion_cocoa_notify_list_pushed(void *data,
|
||||
|
||||
static void *ui_companion_cocoa_get_main_window(void *data)
|
||||
{
|
||||
#if defined(HAVE_COCOA_METAL)
|
||||
return (BRIDGE void *)((RetroArch_OSX*)[[NSApplication sharedApplication] delegate]).window;
|
||||
#elif defined(HAVE_COCOA)
|
||||
return ((RetroArch_OSX*)[[NSApplication sharedApplication] delegate]).window;
|
||||
#endif
|
||||
}
|
||||
|
||||
ui_companion_driver_t ui_companion_cocoa = {
|
||||
|
Loading…
x
Reference in New Issue
Block a user