mirror of
https://github.com/libretro/RetroArch
synced 2025-03-28 19:20:35 +00:00
Update cocoa_common.m
This commit is contained in:
parent
d5e96eed03
commit
7b90da4af7
@ -45,11 +45,10 @@ void *glkitview_init(void);
|
||||
|
||||
@implementation CocoaView
|
||||
|
||||
#if !defined(HAVE_COCOATOUCH) && defined(HAVE_COCOA_METAL)
|
||||
#if TARGET_OS_OSX
|
||||
#ifdef HAVE_COCOA_METAL
|
||||
- (BOOL)layer:(CALayer *)layer shouldInheritContentsScale:(CGFloat)newScale fromWindow:(NSWindow *)window { return YES; }
|
||||
#endif
|
||||
|
||||
#if TARGET_OS_OSX
|
||||
- (void)scrollWheel:(NSEvent *)theEvent { }
|
||||
#endif
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user