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:
parent
aa7f827e72
commit
287514e849
|
@ -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();
|
||||||
|
|
|
@ -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();
|
||||||
|
|
Loading…
Reference in New Issue
Block a user