Ensure the correct FBO is bound when drawing. (Fixes bug #5791.)

This commit is contained in:
James Canete 2012-10-30 22:05:07 +00:00
parent c4288507e0
commit 262e8e96b6
3 changed files with 33 additions and 14 deletions

View file

@ -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] );