Removed auto-polling.

This commit is contained in:
Camilla Berglund
2010-09-09 01:56:05 +02:00
parent 9b443e5bfd
commit 06f1ed38e6
9 changed files with 3 additions and 42 deletions

View File

@@ -96,7 +96,6 @@ static GLboolean open_window(void)
glfwGetMousePos(&x, &y);
printf("Mouse position: %i %i\n", x, y);
glfwDisable(GLFW_AUTO_POLL_EVENTS);
glfwSetWindowSizeCallback(window_size_callback);
glfwSetMousePosCallback(mouse_position_callback);
glfwSetKeyCallback(key_callback);