commit | 1c4f7525d573b4f73b8a0e4e88e5f30a8d6846e7 | [log] [tgz] |
---|---|---|
author | Camilla Berglund <elmindreda@elmindreda.org> | Wed Apr 17 15:31:20 2013 +0200 |
committer | Camilla Berglund <elmindreda@elmindreda.org> | Wed Apr 17 15:31:20 2013 +0200 |
tree | dd900572314ed6892117b79b8d52d9abce269d7f | |
parent | e9712739bab2c6d7d84077c8d276b63ee38f0a92 [diff] |
Added mintty/msvcrt fix to events test.
diff --git a/tests/events.c b/tests/events.c index 25c9090..768ed93 100644 --- a/tests/events.c +++ b/tests/events.c
@@ -417,8 +417,13 @@ printf("Main loop starting\n"); while (!glfwWindowShouldClose(window)) + { glfwWaitEvents(); + // Workaround for an issue with msvcrt and mintty + fflush(stdout); + } + glfwTerminate(); exit(EXIT_SUCCESS); }