diff --git a/tests/windows.c b/tests/windows.c index 7fcb70e8..164a298f 100644 --- a/tests/windows.c +++ b/tests/windows.c @@ -91,9 +91,11 @@ int main(void) glfwSetWindowPos(windows[i], 100 + (i & 1) * (200 + left + right), 100 + (i >> 1) * (200 + top + bottom)); - glfwShowWindow(windows[i]); } + for (i = 0; i < 4; i++) + glfwShowWindow(windows[i]); + while (running) { for (i = 0; i < 4; i++)