1
0
Fork 0
mirror of https://github.com/gwm17/glfw.git synced 2024-11-26 20:28:49 -05:00

Hack for msvcrt and mintty.

This commit is contained in:
Camilla Berglund 2014-12-31 18:20:11 +01:00
parent aa7f827e72
commit 287514e849
2 changed files with 6 additions and 0 deletions

View File

@ -243,6 +243,9 @@ int main(int argc, char** argv)
if (i < window_count) if (i < window_count)
break; break;
// Workaround for an issue with msvcrt and mintty
fflush(stdout);
} }
glfwTerminate(); glfwTerminate();

View File

@ -137,6 +137,9 @@ int main(void)
reopen = GL_FALSE; reopen = GL_FALSE;
} }
// Workaround for an issue with msvcrt and mintty
fflush(stdout);
} }
glfwTerminate(); glfwTerminate();