Added mintty/msvcrt fix to events test.

master
Camilla Berglund ago%!(EXTRA string=12 years)
parent e9712739ba
commit 1c4f7525d5
  1. 5
      tests/events.c

@ -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…
Cancel
Save