Changeset 10590
- Timestamp:
- 09/23/09 16:54:13 (4 years ago)
- Location:
- OpenSceneGraph/trunk/src
- Files:
-
- 2 modified
-
osg/State.cpp (modified) (2 diffs)
-
osgUtil/SceneView.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
OpenSceneGraph/trunk/src/osg/State.cpp
r10588 r10590 12 12 */ 13 13 #include <osg/State> 14 #include <osg/Texture> 14 15 #include <osg/Notify> 15 16 #include <osg/GLU> … … 228 229 { 229 230 _maxTexturePoolSize = size; 231 osg::Texture::getTextureObjectManager(getContextID())->setMaxTexturePoolSize(size); 230 232 osg::notify(osg::NOTICE)<<"_maxTexturePoolSize="<<_maxTexturePoolSize<<std::endl; 231 233 } -
OpenSceneGraph/trunk/src/osgUtil/SceneView.cpp
r10589 r10590 847 847 osg::ref_ptr<RefMatrix> mv = new osg::RefMatrix(modelview); 848 848 849 osg::State* state = _renderInfo.getState();850 if (state->getMaxTexturePoolSize()!=0)851 {852 osg::Texture::getTextureObjectManager(state->getContextID())->setMaxTexturePoolSize(state->getMaxTexturePoolSize());853 }854 855 856 849 // collect any occluder in the view frustum. 857 850 if (_camera->containsOccluderNodes())
