removes invalid glReadBuffer calls

This commit is contained in:
Bo Svensson 2021-10-07 13:57:01 +00:00 committed by Robert Osfield
parent df21f59779
commit ecaca716e9

View File

@ -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
}