Added mintty/msvcrt fix to events test.
This commit is contained in:
Родитель
e9712739ba
Коммит
1c4f7525d5
|
@ -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);
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче