|
@@ -417,8 +417,13 @@ int main(void)
|
|
printf("Main loop starting\n");
|
|
printf("Main loop starting\n");
|
|
|
|
|
|
while (!glfwWindowShouldClose(window))
|
|
while (!glfwWindowShouldClose(window))
|
|
|
|
+ {
|
|
glfwWaitEvents();
|
|
glfwWaitEvents();
|
|
|
|
|
|
|
|
+ // Workaround for an issue with msvcrt and mintty
|
|
|
|
+ fflush(stdout);
|
|
|
|
+ }
|
|
|
|
+
|
|
glfwTerminate();
|
|
glfwTerminate();
|
|
exit(EXIT_SUCCESS);
|
|
exit(EXIT_SUCCESS);
|
|
}
|
|
}
|