Moved scroll offset clearing to shared code.

This commit is contained in:
Camilla Berglund
2010-11-17 14:24:25 +01:00
parent a4a860057d
commit c4250ca384
3 changed files with 21 additions and 13 deletions
-6
View File
@@ -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)
{