Clean up cursor mode setting

This commit is contained in:
Camilla Berglund
2015-07-02 13:04:56 +02:00
parent 95a07f3340
commit 13fbb4748a
7 changed files with 74 additions and 139 deletions
+1 -1
View File
@@ -78,7 +78,7 @@ static void setCursorMode(_GLFWwindow* window, int newMode)
_glfwPlatformSetCursorPos(window, width / 2, height / 2);
}
_glfwPlatformApplyCursorMode(window);
_glfwPlatformSetCursorMode(window, window->cursorMode);
}
}