mirror of
https://github.com/glfw/glfw.git
synced 2024-11-12 17:51:48 +00:00
Added mintty/msvcrt fix to events test.
This commit is contained in:
parent
e9712739ba
commit
1c4f7525d5
@ -417,8 +417,13 @@ int main(void)
|
|||||||
printf("Main loop starting\n");
|
printf("Main loop starting\n");
|
||||||
|
|
||||||
while (!glfwWindowShouldClose(window))
|
while (!glfwWindowShouldClose(window))
|
||||||
|
{
|
||||||
glfwWaitEvents();
|
glfwWaitEvents();
|
||||||
|
|
||||||
|
// Workaround for an issue with msvcrt and mintty
|
||||||
|
fflush(stdout);
|
||||||
|
}
|
||||||
|
|
||||||
glfwTerminate();
|
glfwTerminate();
|
||||||
exit(EXIT_SUCCESS);
|
exit(EXIT_SUCCESS);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user