Added window hiding before thrd_join.

This commit is contained in:
Camilla Berglund 2014-04-06 14:41:04 +02:00
parent 4a8f6ba58c
commit df1c895076

View File

@ -124,6 +124,9 @@ int main(void)
} }
} }
for (i = 0; i < count; i++)
glfwHideWindow(threads[i].window);
for (i = 0; i < count; i++) for (i = 0; i < count; i++)
thrd_join(threads[i].id, &result); thrd_join(threads[i].id, &result);