Hello,
I have a quick question. I am using GLFW and I am unsure I am reading the documentation correct. (http://www.glfw.org/...eference276.pdf)
I am using setKeyCallback / setMouseButtonCallback / setMousePosCallback. As I understand it, the callbacks are stored internally in GLFW untill glfwPollEvents, glfwWaitEvents or glfwSwapBuffers are called, when which they are all dispatched synchronously to the registered callback handlers? So there is no risk of a sudden keyboard interupt in the middle of the frame and likewise no need for thread synchronization assuming I am doing glfwSwapBuffers at the end of my frame?
Thanks
GLFW Input documentation clarification
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement