removes invalid glReadBuffer calls
This commit is contained in:
parent
3e13fa031b
commit
efde7273ee
@ -519,9 +519,7 @@ void RenderStage::runCameraSetUp(osg::RenderInfo& renderInfo)
|
|||||||
{
|
{
|
||||||
#if !defined(OSG_GLES1_AVAILABLE) && !defined(OSG_GLES2_AVAILABLE) && !defined(OSG_GLES3_AVAILABLE)
|
#if !defined(OSG_GLES1_AVAILABLE) && !defined(OSG_GLES2_AVAILABLE) && !defined(OSG_GLES3_AVAILABLE)
|
||||||
setDrawBuffer( GL_NONE, true );
|
setDrawBuffer( GL_NONE, true );
|
||||||
setReadBuffer( GL_NONE, true );
|
|
||||||
state.glDrawBuffer( GL_NONE );
|
state.glDrawBuffer( GL_NONE );
|
||||||
state.glReadBuffer( GL_NONE );
|
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user