mirror of
https://github.com/libretro/RetroArch
synced 2025-03-29 22:20:21 +00:00
fix(cocoa): Use RApplication for OpenGL
This commit is contained in:
parent
e5b9ca5187
commit
1e6503c0d9
@ -88,11 +88,17 @@ static void app_terminate(void)
|
||||
{
|
||||
[[NSApplication sharedApplication] terminate:nil];
|
||||
}
|
||||
|
||||
#ifdef HAVE_METAL
|
||||
@interface RAWindow : NSWindow
|
||||
@end
|
||||
|
||||
@implementation RAWindow
|
||||
#else
|
||||
@interface RApplication : NSApplication
|
||||
@end
|
||||
|
||||
@implementation RApplication
|
||||
#endif
|
||||
|
||||
#if MAC_OS_X_VERSION_MAX_ALLOWED < 101200
|
||||
#define NSEventTypeKeyDown NSKeyDown
|
||||
|
Loading…
x
Reference in New Issue
Block a user