1
0
Fork 0
mirror of https://github.com/gwm17/glfw.git synced 2024-11-23 02:38:52 -05:00

Added missing glfwPollEvents to reopen test.

This commit is contained in:
Camilla Berglund 2010-09-09 19:25:13 +02:00
parent b54334a451
commit 8fa7dddf16

View File

@ -151,6 +151,7 @@ int main(int argc, char** argv)
glPopMatrix(); glPopMatrix();
glfwSwapBuffers(); glfwSwapBuffers();
glfwPollEvents();
if (closed) if (closed)
close_window(); close_window();