From 294504cb585a476907a7a62e06730d3a7db8127e Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Thu, 25 Jun 2009 13:13:54 +0000 Subject: [PATCH] From Mathias Froehlich, "put texturemanager into osg namespace." --- src/osg/Texture.cpp | 4 ++++ 1 file changed, 4 insertions(+) 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;