]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commitdiff
there was only a single way to mess it up, and I managed to find it... 1.0/int, not...
authordivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Thu, 31 Jan 2008 10:53:07 +0000 (10:53 +0000)
committerdivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Thu, 31 Jan 2008 10:53:07 +0000 (10:53 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8057 d7cf8633-e32d-0410-b094-e92efae38249

gl_rmain.c

index 698fc28fb74f45ce19e2301d831f51357e26aa9d..227d213d23ac5df5c71c679d8a4e41e55572d6cf 100644 (file)
@@ -3416,7 +3416,7 @@ static void R_BlendView(void)
                if (r_glsl_permutation->loc_ClientTime >= 0)
                        qglUniform1fARB(r_glsl_permutation->loc_ClientTime, cl.time);
                if (r_glsl_permutation->loc_PixelSize >= 0)
-                       qglUniform2fARB(r_glsl_permutation->loc_PixelSize, 1/r_bloomstate.screentexturewidth, 1/r_bloomstate.screentextureheight);
+                       qglUniform2fARB(r_glsl_permutation->loc_PixelSize, 1.0/r_bloomstate.screentexturewidth, 1.0/r_bloomstate.screentextureheight);
                if (r_glsl_permutation->loc_UserVec1 >= 0)
                {
                        float a=0, b=0, c=0, d=0;