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?
Edited by KaiserJohan, 29 October 2012 - 02:24 PM.