From ef82f39846c48a654b63797b78bf8b0b8935d348 Mon Sep 17 00:00:00 2001 From: "Steinar H. Gunderson" Date: Sun, 7 Oct 2012 01:59:04 +0200 Subject: [PATCH] 1.0f is not allowed in GLSL; 1.0 it is. --- flat_input.frag | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flat_input.frag b/flat_input.frag index 4bc055e..d7c04cc 100644 --- a/flat_input.frag +++ b/flat_input.frag @@ -4,7 +4,7 @@ vec4 FUNCNAME(vec2 tc) { // OpenGL's origin is bottom-left, but most graphics software assumes // a top-left origin. Thus, for inputs that come from the user, // we flip the y coordinate. - tc.y = 1.0f - tc.y; + tc.y = 1.0 - tc.y; return texture2D(PREFIX(tex), tc); } -- 2.39.2