This commit is contained in:
Kovid Goyal 2018-04-13 22:34:28 +05:30
parent 612fb3b596
commit d9cc065c99
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -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 glfwWaitEventsTimeout(timeout);
}
void