mirror of
https://github.com/gwm17/glfw.git
synced 2024-12-03 07:28:51 -05:00
Made the leap to glfwWaitEvents.
This commit is contained in:
parent
6c449e6e8f
commit
ac3a5e28c9
|
@ -80,7 +80,7 @@ int main(void)
|
|||
if (thrd_create(&thread, thread_start, window) == thrd_success)
|
||||
{
|
||||
while (!glfwGetWindowParam(window, GLFW_CLOSE_REQUESTED))
|
||||
glfwPollEvents();
|
||||
glfwWaitEvents();
|
||||
|
||||
running = GL_FALSE;
|
||||
thrd_join(thread, &result);
|
||||
|
|
Loading…
Reference in New Issue
Block a user