Skip to content

Commit

Permalink
removes invalid glReadBuffer calls
Browse files Browse the repository at this point in the history
  • Loading branch information
bosvensson1 committed Oct 7, 2021
1 parent 3e13fa0 commit efde727
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/osgUtil/RenderStage.cpp
Expand Up @@ -519,9 +519,7 @@ void RenderStage::runCameraSetUp(osg::RenderInfo& renderInfo)
{
#if !defined(OSG_GLES1_AVAILABLE) && !defined(OSG_GLES2_AVAILABLE) && !defined(OSG_GLES3_AVAILABLE)
setDrawBuffer( GL_NONE, true );
setReadBuffer( GL_NONE, true );
state.glDrawBuffer( GL_NONE );
state.glReadBuffer( GL_NONE );
#endif
}

Expand Down

0 comments on commit efde727

Please sign in to comment.