From 420ba41845f1e01bb610c1309a71930d7ddfb437 Mon Sep 17 00:00:00 2001 From: havoc Date: Thu, 31 Mar 2011 23:58:16 +0000 Subject: [PATCH] fixed viewsize issues with r_viewfbo git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10991 d7cf8633-e32d-0410-b094-e92efae38249 --- gl_rmain.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; } -- 2.39.2