mirror of
https://github.com/glfw/glfw.git
synced 2026-09-22 00:49:48 +00:00
Moved scroll offset clearing to shared code.
This commit is contained in:
@@ -1690,12 +1690,6 @@ void _glfwPlatformPollEvents(void)
|
||||
MSG msg;
|
||||
_GLFWwindow* window;
|
||||
|
||||
for (window = _glfwLibrary.windowListHead; window; window = window->next)
|
||||
{
|
||||
window->scrollX = 0;
|
||||
window->scrollY = 0;
|
||||
}
|
||||
|
||||
window = _glfwLibrary.cursorLockWindow;
|
||||
if (window)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user