|
@@ -554,10 +554,7 @@ open_window() {
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
// Always disable application HiDPI support, Cocoa will do the eventual upscaling for us.
|
|
// 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()) {
|
|
if (_properties.has_icon_filename()) {
|
|
|
NSImage *image = load_image(_properties.get_icon_filename());
|
|
NSImage *image = load_image(_properties.get_icon_filename());
|
|
|
if (image != nil) {
|
|
if (image != nil) {
|