diff --git a/examples/osgautocapture/osgautocapture.cpp b/examples/osgautocapture/osgautocapture.cpp index 13b685422..01bab4a82 100644 --- a/examples/osgautocapture/osgautocapture.cpp +++ b/examples/osgautocapture/osgautocapture.cpp @@ -79,7 +79,9 @@ public: virtual void operator () (osg::RenderInfo& renderInfo) const { + #if !defined(OSG_GLES1_AVAILABLE) glReadBuffer(_readBuffer); + #endif OpenThreads::ScopedLock lock(_mutex); osg::GraphicsContext* gc = renderInfo.getState()->getGraphicsContext();