By using glfw.WaitEvent/WaitEventTimeout CPU time falls drastically (at the cost of less FPS). As the UI will be updated only when the OS notices that an event should be dispatched.
With this change users of pixel can choose between high FPS (window.UpdateInput) vs low FPS (window.WaitInput).
By using glfw.WaitEvent/WaitEventTimeout CPU time falls drastically (at the cost of less FPS). As the UI will be updated only when the OS notices that an event should be dispatched.
With this change users of pixel can choose between high FPS (window.UpdateInput) vs low FPS (window.WaitInput).