From: havoc Date: Thu, 31 Mar 2011 23:58:16 +0000 (+0000) Subject: fixed viewsize issues with r_viewfbo X-Git-Tag: xonotic-v0.5.0~321 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=0d5b93bfb7e71281a12a8e620201bc52c597e659;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 ::stable-branch::merge=420ba41845f1e01bb610c1309a71930d7ddfb437 --- diff --git a/gl_rmain.c b/gl_rmain.c index caa7bbce..447b5f0c 100644 --- a/gl_rmain.c +++ b/gl_rmain.c @@ -5685,8 +5685,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; }