mirror of
https://github.com/glfw/glfw.git
synced 2026-09-21 08:39:45 +00:00
Clean up cursor mode setting
This commit is contained in:
+1
-1
@@ -78,7 +78,7 @@ static void setCursorMode(_GLFWwindow* window, int newMode)
|
||||
_glfwPlatformSetCursorPos(window, width / 2, height / 2);
|
||||
}
|
||||
|
||||
_glfwPlatformApplyCursorMode(window);
|
||||
_glfwPlatformSetCursorMode(window, window->cursorMode);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user