mirror of
https://github.com/glfw/glfw.git
synced 2026-09-19 23:35:24 +00:00
NSGL: Remove problematic swap interval workaround
Fixes #1483.
(cherry picked from commit 54e8e0b092)
This commit is contained in:
committed by
Camilla Löwy
parent
7c9d0081e3
commit
ccb54c3e05
@@ -322,12 +322,6 @@ static const NSRange kEmptyRange = { NSNotFound, 0 };
|
||||
_glfwInputWindowFocus(window, GLFW_FALSE);
|
||||
}
|
||||
|
||||
- (void)windowDidChangeScreen:(NSNotification *)notification
|
||||
{
|
||||
if (window->context.source == GLFW_NATIVE_CONTEXT_API)
|
||||
_glfwUpdateDisplayLinkDisplayNSGL(window);
|
||||
}
|
||||
|
||||
@end
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user