From 2f7f7ca06f3b295bf33b80f8b5d16fb1521b82ac Mon Sep 17 00:00:00 2001 From: Camilla Berglund Date: Wed, 5 Oct 2011 00:46:56 +0200 Subject: [PATCH] Fixed color of window. --- tests/windows.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tests/windows.c b/tests/windows.c index ddb8a224..c7ff32b2 100644 --- a/tests/windows.c +++ b/tests/windows.c @@ -66,7 +66,10 @@ int main(void) glfwSetWindowPos(windows[i], 100 + (i & 1) * 300, 100 + (i >> 1) * 300); - glClearColor((GLclampf) (i & 1), (GLclampf) (i >> 1), 0.0, 0.0); + glClearColor((GLclampf) (i & 1), + (GLclampf) (i >> 1), + i ? 0.0 : 1.0, + 0.0); } while (running)