mirror of
https://github.com/glfw/glfw.git
synced 2026-11-17 20:28:55 +00:00
NSGL: Fix disabling of Retina resolution
It appears the default is now YES. Fixes #1442.
This commit is contained in:
+1
-2
@@ -354,8 +354,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
|
||||
|
||||
Reference in New Issue
Block a user