From fced7b7a83dc6ef2a7d1b7ffd0a55f8073a95ad4 Mon Sep 17 00:00:00 2001 From: Steve Checkoway Date: Sun, 25 Feb 2007 09:19:54 +0000 Subject: [PATCH] Fix warning. --- stepmania/Data/Shaders/GLSL/Unpremultiply.frag | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stepmania/Data/Shaders/GLSL/Unpremultiply.frag b/stepmania/Data/Shaders/GLSL/Unpremultiply.frag index bb8e092910..7342072194 100644 --- a/stepmania/Data/Shaders/GLSL/Unpremultiply.frag +++ b/stepmania/Data/Shaders/GLSL/Unpremultiply.frag @@ -3,7 +3,7 @@ uniform sampler2D Texture1; void main(void) { vec4 ret = texture2DProj( Texture1, gl_TexCoord[0] ); - if( ret.a != 0 ) + if( ret.a != 0.0 ) ret.rgb /= ret.a; gl_FragColor = ret;