NSGL: Fix disabling of Retina resolution

It appears the default is now YES.

Fixes #1442.

(cherry picked from commit fa60269245)
This commit is contained in:
Camilla Löwy
2019-12-09 18:53:29 +01:00
committed by Camilla Löwy
parent 2da4adce40
commit e135210cb3
2 changed files with 3 additions and 2 deletions
+1 -2
View File
@@ -361,8 +361,7 @@ GLFWbool _glfwCreateContextNSGL(_GLFWwindow* window,
forParameter:NSOpenGLContextParameterSurfaceOpacity];
}
if (window->ns.retina)
[window->ns.view setWantsBestResolutionOpenGLSurface:YES];
[window->ns.view setWantsBestResolutionOpenGLSurface:window->ns.retina];
GLint interval = 0;
[window->context.nsgl.object setValues:&interval