Process events when timeout is zero
This commit is contained in:
parent
532d51c411
commit
612fb3b596
1 changed files with 1 additions and 1 deletions
|
|
@ -631,7 +631,7 @@ swap_window_buffers(OSWindow *w) {
|
|||
void
|
||||
event_loop_wait(double timeout) {
|
||||
if (timeout < 0) glfwWaitEvents();
|
||||
else if (timeout > 0) glfwWaitEventsTimeout(timeout);
|
||||
else if (timeout >= 0) glfwWaitEventsTimeout(timeout);
|
||||
}
|
||||
|
||||
void
|
||||
|
|
|
|||
Loading…
Reference in a new issue