diff options
author | James Canete <use.less01@gmail.com> | 2012-10-30 22:05:07 +0000 |
---|---|---|
committer | Tim Angus <tim@ngus.net> | 2013-01-12 21:23:56 +0000 |
commit | bb9e18b2e399cfbea383c99f135e4d5ad308870d (patch) | |
tree | 60cba81be52c9001ca4ed207c7a2c8d49c9ab17a /src/rend2/tr_scene.c | |
parent | 819fbad8191e8e646aa5b4c8dc4b79803126e5a5 (diff) |
Ensure the correct FBO is bound when drawing. (Fixes bug #5791.)
Diffstat (limited to 'src/rend2/tr_scene.c')
-rw-r--r-- | src/rend2/tr_scene.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/rend2/tr_scene.c b/src/rend2/tr_scene.c index eb58481e..f134c997 100644 --- a/src/rend2/tr_scene.c +++ b/src/rend2/tr_scene.c @@ -507,11 +507,6 @@ void RE_RenderScene( const refdef_t *fd ) { parms.stereoFrame = tr.refdef.stereoFrame; - if (glRefConfig.framebufferObject) - { - parms.targetFbo = tr.renderFbo; - } - VectorCopy( fd->vieworg, parms.or.origin ); VectorCopy( fd->viewaxis[0], parms.or.axis[0] ); VectorCopy( fd->viewaxis[1], parms.or.axis[1] ); |