mirror of
https://github.com/glfw/glfw.git
synced 2026-09-21 00:30:57 +00:00
Cursor mode cleanup.
This commit is contained in:
+1
-1
@@ -70,7 +70,7 @@ static void setCursorMode(_GLFWwindow* window, int newMode)
|
||||
_glfwPlatformSetCursorPos(window, width / 2.0, height / 2.0);
|
||||
}
|
||||
|
||||
_glfwPlatformSetCursorMode(window, newMode);
|
||||
_glfwPlatformApplyCursorMode(window);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user