mirror of
https://github.com/glfw/glfw.git
synced 2026-01-11 23:33:16 +01:00
Removed auto-polling.
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user