Show
Ignore:
Timestamp:
09/23/09 16:54:13 (5 years ago)
Author:
robert
Message:

Moved setting of TexturePoolSize? into State.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • OpenSceneGraph/trunk/src/osg/State.cpp

    r10588 r10590  
    1212*/ 
    1313#include <osg/State> 
     14#include <osg/Texture> 
    1415#include <osg/Notify> 
    1516#include <osg/GLU> 
     
    228229{ 
    229230    _maxTexturePoolSize = size; 
     231    osg::Texture::getTextureObjectManager(getContextID())->setMaxTexturePoolSize(size); 
    230232    osg::notify(osg::NOTICE)<<"_maxTexturePoolSize="<<_maxTexturePoolSize<<std::endl; 
    231233}