Update cocoa_common.m

This commit is contained in:
Autechre 2020-12-28 07:52:08 +01:00 committed by GitHub
parent d5e96eed03
commit 7b90da4af7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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