From: Steinar H. Gunderson Date: Sat, 6 Oct 2012 23:59:04 +0000 (+0200) Subject: 1.0f is not allowed in GLSL; 1.0 it is. X-Git-Tag: 1.0~360 X-Git-Url: https://git.sesse.net/?p=movit;a=commitdiff_plain;h=ef82f39846c48a654b63797b78bf8b0b8935d348 1.0f is not allowed in GLSL; 1.0 it is. --- 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); }