Made the leap to glfwWaitEvents.

master
Camilla Berglund ago%!(EXTRA string=13 years)
parent 6c449e6e8f
commit ac3a5e28c9
  1. 2
      tests/threads.c

@ -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…
Cancel
Save