mirror of
https://github.com/glfw/glfw.git
synced 2026-01-11 23:33:16 +01:00
Made the leap to glfwWaitEvents.
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user