From 7c612fb1d97e3d3ddbffe03558f5eee5ade8567a Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Thu, 3 Nov 2005 10:59:22 +0000 Subject: [PATCH] Added env var docs on OSG_MAX_TEXTURE_SIZE --- src/osg/Texture.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/osg/Texture.cpp b/src/osg/Texture.cpp index 63aade119..07d766877 100644 --- a/src/osg/Texture.cpp +++ b/src/osg/Texture.cpp @@ -17,6 +17,7 @@ #include #include #include +#include #include #include @@ -42,6 +43,8 @@ using namespace osg; // #define DO_TIMING +ApplicationUsageProxy Texture_e0(ApplicationUsage::ENVIRONMENTAL_VARIABLE,"OSG_MAX_TEXTURE_SIZE","Set the maximum size of textures."); + unsigned int Texture::s_numberTextureReusedLastInLastFrame = 0; unsigned int Texture::s_numberNewTextureInLastFrame = 0; unsigned int Texture::s_numberDeletedTextureInLastFrame = 0;