diff --git a/tests/gamma.c b/tests/gamma.c index 4919d2cf..8c971eae 100644 --- a/tests/gamma.c +++ b/tests/gamma.c @@ -170,7 +170,7 @@ int main(int argc, char** argv) glRectf(-0.5f, -0.5f, 0.5f, 0.5f); glfwSwapBuffers(window); - glfwPollEvents(); + glfwWaitEvents(); } glfwTerminate();