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

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

No files matched your search

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