From 3162f290a6ab487209db9a83a7c2f445f812ed96 Mon Sep 17 00:00:00 2001 From: Camilla Berglund Date: Sun, 12 Aug 2012 13:37:12 +0200 Subject: [PATCH] Fixed float constant type mismatches. --- tests/windows.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/windows.c b/tests/windows.c index 7b1a529c..894febeb 100644 --- a/tests/windows.c +++ b/tests/windows.c @@ -67,8 +67,8 @@ int main(void) glfwMakeContextCurrent(windows[i]); glClearColor((GLclampf) (i & 1), (GLclampf) (i >> 1), - i ? 0.0 : 1.0, - 0.0); + i ? 0.f : 1.f, + 0.f); glfwSetWindowPos(windows[i], 100 + (i & 1) * 300, 100 + (i >> 1) * 300); }