mirror of
https://github.com/glfw/glfw.git
synced 2026-01-11 23:33:16 +01:00
Hack for msvcrt and mintty.
This commit is contained in:
@@ -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();
|
||||
|
||||
@@ -137,6 +137,9 @@ int main(void)
|
||||
|
||||
reopen = GL_FALSE;
|
||||
}
|
||||
|
||||
// Workaround for an issue with msvcrt and mintty
|
||||
fflush(stdout);
|
||||
}
|
||||
|
||||
glfwTerminate();
|
||||
|
||||
Reference in New Issue
Block a user