Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -77,10 +77,7 @@ + (void) createWindow {
// Inform the view of its parent window info;
[window_info->view setParent:window_info];

if (window_info->enableHighDPI) {
// call method using runtime selector as its a 10.7+ api and allows compiling on older SDK's
[window_info->view performSelector:NSSelectorFromString(@"setWantsBestResolutionOpenGLSurface:") withObject:YES];
}
[window_info->view setWantsBestResolutionOpenGLSurface:NO];

// set nsapp delegate for catching app quit events
[NSApp setDelegate:window_info->view];
Expand Down