Ensure the correct FBO is bound when drawing. (Fixes bug #5791.)
This commit is contained in:
parent
c4288507e0
commit
262e8e96b6
3 changed files with 33 additions and 14 deletions
|
@ -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] );
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue