From 287514e849b891c87664f1c5796b28c4caefdc33 Mon Sep 17 00:00:00 2001 From: Camilla Berglund Date: Wed, 31 Dec 2014 18:20:11 +0100 Subject: [PATCH] Hack for msvcrt and mintty. --- tests/iconify.c | 3 +++ tests/peter.c | 3 +++ 2 files changed, 6 insertions(+) diff --git a/tests/iconify.c b/tests/iconify.c index dc465fce..d1c8d682 100644 --- a/tests/iconify.c +++ b/tests/iconify.c @@ -243,6 +243,9 @@ int main(int argc, char** argv) if (i < window_count) break; + + // Workaround for an issue with msvcrt and mintty + fflush(stdout); } glfwTerminate(); diff --git a/tests/peter.c b/tests/peter.c index 4eab10f0..acb93052 100644 --- a/tests/peter.c +++ b/tests/peter.c @@ -137,6 +137,9 @@ int main(void) reopen = GL_FALSE; } + + // Workaround for an issue with msvcrt and mintty + fflush(stdout); } glfwTerminate();