Without mouse input my app is getting around 450fps. As soon as I start to move the mouse, that drops to around 300fps. I’m currently calling glfwPollEvents()
every frame, then directly after that I’m calling glfwGetCursorPos()
. Is there a more efficient way to retrieve the mouse cursor position?