5 ms·
You can do that if you want. You can also just sleep the render thread until inputs are received, if you are sure that only user input can cause changes in the
by gw 6y ago
You can do that if you want. You can also just sleep the render thread until inputs are received, if you are sure that only user input can cause changes in the UI. See glfwWaitEvents for example:
https://www.glfw.org/docs/latest/group__window.html#ga554e37d781f0a997656c26b2c56c835e https://www.glfw.org/docs/latest/group__window.html#ga554e37...