Fixed for GLES1 build

This commit is contained in:
Robert Osfield 2009-10-30 15:16:44 +00:00
parent 7e0a6fa68a
commit 0ca4c82e3a

View File

@ -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();