mirror of
https://github.com/glfw/glfw.git
synced 2026-01-12 07:43:16 +01:00
Removed duplicate event processing.
This commit is contained in:
@@ -372,10 +372,9 @@ int main(void)
|
||||
|
||||
while (glfwIsWindow(window) == GL_TRUE)
|
||||
{
|
||||
glfwWaitEvents();
|
||||
glClear(GL_COLOR_BUFFER_BIT);
|
||||
glfwSwapBuffers();
|
||||
glfwPollEvents();
|
||||
glfwWaitEvents();
|
||||
}
|
||||
|
||||
glfwTerminate();
|
||||
|
||||
Reference in New Issue
Block a user