From e20ea6b00558a7bec1c0927df76d4ffe9d89800a Mon Sep 17 00:00:00 2001 From: Camilla Berglund Date: Thu, 8 Sep 2011 22:45:35 +0200 Subject: [PATCH] Removed duplicate event processing. --- tests/events.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tests/events.c b/tests/events.c index 6ae6718a..bb8927c0 100644 --- a/tests/events.c +++ b/tests/events.c @@ -372,10 +372,9 @@ int main(void) while (glfwIsWindow(window) == GL_TRUE) { - glfwWaitEvents(); glClear(GL_COLOR_BUFFER_BIT); glfwSwapBuffers(); - glfwPollEvents(); + glfwWaitEvents(); } glfwTerminate();