diff --git a/src/osg/Texture.cpp b/src/osg/Texture.cpp index aa5ee3f23..690f89da1 100644 --- a/src/osg/Texture.cpp +++ b/src/osg/Texture.cpp @@ -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;