Fixed for GLES1 build
This commit is contained in:
parent
7e0a6fa68a
commit
0ca4c82e3a
@ -79,7 +79,9 @@ public:
|
||||
|
||||
virtual void operator () (osg::RenderInfo& renderInfo) const
|
||||
{
|
||||
#if !defined(OSG_GLES1_AVAILABLE)
|
||||
glReadBuffer(_readBuffer);
|
||||
#endif
|
||||
|
||||
OpenThreads::ScopedLock<OpenThreads::Mutex> lock(_mutex);
|
||||
osg::GraphicsContext* gc = renderInfo.getState()->getGraphicsContext();
|
||||
|
Loading…
Reference in New Issue
Block a user