cocoa: Remove now useless respondsToSelector for setWantsBestResolutionOpenGLSurface

Closes #820
This commit is contained in:
LD 2019-12-21 10:53:05 +01:00 committed by rdb
parent 12f8363284
commit ff1a2632bd

View File

@ -554,10 +554,7 @@ open_window() {
}
// Always disable application HiDPI support, Cocoa will do the eventual upscaling for us.
// Note: setWantsBestResolutionOpenGLSurface method is supported from MacOS 10.7 onwards
if ([_view respondsToSelector:@selector(setWantsBestResolutionOpenGLSurface:)]) {
[_view setWantsBestResolutionOpenGLSurface:NO];
}
[_view setWantsBestResolutionOpenGLSurface:NO];
if (_properties.has_icon_filename()) {
NSImage *image = load_image(_properties.get_icon_filename());
if (image != nil) {