From: divverent Date: Thu, 31 Jan 2008 10:53:07 +0000 (+0000) Subject: there was only a single way to mess it up, and I managed to find it... 1.0/int, not... X-Git-Tag: xonotic-v0.1.0preview~2457 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=d492bae2cd9400d20a601ee1f5d4898fa889ca14;p=xonotic%2Fdarkplaces.git 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 --- 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;