From d492bae2cd9400d20a601ee1f5d4898fa889ca14 Mon Sep 17 00:00:00 2001 From: divverent Date: Thu, 31 Jan 2008 10:53:07 +0000 Subject: [PATCH] there was only a single way to mess it up, and I managed to find it... 1.0/int, not 1/int git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8057 d7cf8633-e32d-0410-b094-e92efae38249 --- gl_rmain.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gl_rmain.c b/gl_rmain.c index 698fc28f..227d213d 100644 --- a/gl_rmain.c +++ b/gl_rmain.c @@ -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; -- 2.39.2