mirror of
https://github.com/libretro/RetroArch
synced 2025-01-30 21:32:45 +00:00
(OSX) Set pointer for HAVE_COCOA_METAL too
This commit is contained in:
parent
2135e86fc7
commit
fbb8a9640c
@ -94,6 +94,10 @@ void *glkitview_init(void);
|
||||
video_driver_display_type_set(RARCH_DISPLAY_OSX);
|
||||
video_driver_display_set(0);
|
||||
video_driver_display_userdata_set((uintptr_t)&g_instance);
|
||||
#elif defined(HAVE_COCOA_METAL)
|
||||
video_driver_display_type_set(RARCH_DISPLAY_OSX);
|
||||
video_driver_display_set(0);
|
||||
video_driver_display_userdata_set((uintptr_t)apple_platform.renderView);
|
||||
#endif
|
||||
|
||||
return g_instance;
|
||||
|
Loading…
x
Reference in New Issue
Block a user