1
0
Fork 0
mirror of https://github.com/gwm17/glfw.git synced 2024-11-26 12:18:51 -05:00

Removed duplicate event processing.

This commit is contained in:
Camilla Berglund 2011-09-08 22:45:35 +02:00
parent dbc9489f38
commit e20ea6b005

View File

@ -372,10 +372,9 @@ int main(void)
while (glfwIsWindow(window) == GL_TRUE)
{
glfwWaitEvents();
glClear(GL_COLOR_BUFFER_BIT);
glfwSwapBuffers();
glfwPollEvents();
glfwWaitEvents();
}
glfwTerminate();