From Mathias Froehlich, "put texturemanager into osg namespace."
This commit is contained in:
@@ -50,6 +50,8 @@ using namespace osg;
|
||||
|
||||
//#define DO_TIMING
|
||||
|
||||
namespace osg {
|
||||
|
||||
ApplicationUsageProxy Texture_e0(ApplicationUsage::ENVIRONMENTAL_VARIABLE,"OSG_MAX_TEXTURE_SIZE","Set the maximum size of textures.");
|
||||
|
||||
class TextureObjectManager : public osg::Referenced
|
||||
@@ -124,6 +126,8 @@ public:
|
||||
OpenThreads::Mutex _mutex;
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
unsigned int Texture::s_numberTextureReusedLastInLastFrame = 0;
|
||||
unsigned int Texture::s_numberNewTextureInLastFrame = 0;
|
||||
unsigned int Texture::s_numberDeletedTextureInLastFrame = 0;
|
||||
|
||||
Reference in New Issue
Block a user