From 1c4f7525d573b4f73b8a0e4e88e5f30a8d6846e7 Mon Sep 17 00:00:00 2001 From: Camilla Berglund Date: Wed, 17 Apr 2013 15:31:20 +0200 Subject: [PATCH] Added mintty/msvcrt fix to events test. --- tests/events.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tests/events.c b/tests/events.c index 25c90908..768ed93d 100644 --- a/tests/events.c +++ b/tests/events.c @@ -417,8 +417,13 @@ int main(void) printf("Main loop starting\n"); while (!glfwWindowShouldClose(window)) + { glfwWaitEvents(); + // Workaround for an issue with msvcrt and mintty + fflush(stdout); + } + glfwTerminate(); exit(EXIT_SUCCESS); }