mirror of
https://github.com/libretro/RetroArch
synced 2025-04-09 21:45:45 +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
|
@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; }
|
- (BOOL)layer:(CALayer *)layer shouldInheritContentsScale:(CGFloat)newScale fromWindow:(NSWindow *)window { return YES; }
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if TARGET_OS_OSX
|
|
||||||
- (void)scrollWheel:(NSEvent *)theEvent { }
|
- (void)scrollWheel:(NSEvent *)theEvent { }
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user