Index: OpenSceneGraph/trunk/src/osgViewer/CompositeViewer.cpp
===================================================================
--- OpenSceneGraph/trunk/src/osgViewer/CompositeViewer.cpp (revision 10588)
+++ OpenSceneGraph/trunk/src/osgViewer/CompositeViewer.cpp (revision 10601)
@@ -542,6 +542,5 @@
 
     unsigned int maxTexturePoolSize = osg::DisplaySettings::instance()->getMaxTexturePoolSize();
-    unsigned int maxVBOPoolSize = osg::DisplaySettings::instance()->getMaxVBOPoolSize();
-    unsigned int maxFBOPoolSize = osg::DisplaySettings::instance()->getMaxFBOPoolSize();
+    unsigned int maxBufferObjectPoolSize = osg::DisplaySettings::instance()->getMaxBufferObjectPoolSize();
 
     for(Contexts::iterator citr = contexts.begin();
@@ -553,6 +552,5 @@
         // set the pool sizes, 0 the default will result in no GL object pools.
         gc->getState()->setMaxTexturePoolSize(maxTexturePoolSize);
-        gc->getState()->setMaxVBOPoolSize(maxVBOPoolSize);
-        gc->getState()->setMaxFBOPoolSize(maxFBOPoolSize);
+        gc->getState()->setMaxBufferObjectPoolSize(maxBufferObjectPoolSize);
 
         gc->realize();
