From: havoc Date: Thu, 31 Mar 2011 23:58:16 +0000 (+0000) Subject: fixed viewsize issues with r_viewfbo X-Git-Tag: xonotic-v0.6.0~163^2~555 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=420ba41845f1e01bb610c1309a71930d7ddfb437;p=xonotic%2Fdarkplaces.git fixed viewsize issues with r_viewfbo git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10991 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/gl_rmain.c b/gl_rmain.c index c119409b..66a5e32b 100644 --- a/gl_rmain.c +++ b/gl_rmain.c @@ -5692,8 +5692,8 @@ void R_Bloom_StartFrame(void) // calculate desired texture sizes if (vid.support.arb_texture_non_power_of_two) { - screentexturewidth = r_refdef.view.width; - screentextureheight = r_refdef.view.height; + screentexturewidth = vid.width; + screentextureheight = vid.height; bloomtexturewidth = r_bloomstate.bloomwidth; bloomtextureheight = r_bloomstate.bloomheight; }