From 35fd08f594fa11926fb98eb71053a8dd08f1b054 Mon Sep 17 00:00:00 2001 From: Camilla Berglund Date: Mon, 19 May 2014 11:55:56 +0200 Subject: [PATCH] Made windows test show all windows at once. --- tests/windows.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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++)