From 0d5b93bfb7e71281a12a8e620201bc52c597e659 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 ::stable-branch::merge=420ba41845f1e01bb610c1309a71930d7ddfb437 --- gl_rmain.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; } -- 2.39.2