mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-29 08:15:18 -04:00
cocoa: Remove now useless respondsToSelector for setWantsBestResolutionOpenGLSurface
Closes #820
This commit is contained in:
parent
12f8363284
commit
ff1a2632bd
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user