From 2eff3daaabe2aac07bf2cd1d87b1c66e53d445b7 Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Sun, 27 Sep 2009 15:21:05 +0000 Subject: [PATCH] Fixed warning about max texture size being smaller than the currently used texture pool size --- src/osg/Texture.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/osg/Texture.cpp b/src/osg/Texture.cpp index 3f7c298fe..cc2ddc7fa 100644 --- a/src/osg/Texture.cpp +++ b/src/osg/Texture.cpp @@ -624,9 +624,9 @@ void Texture::TextureObjectManager::setMaxTexturePoolSize(unsigned int size) { if (_maxTexturePoolSize == size) return; - if (size>_currTexturePoolSize) + if (size<_currTexturePoolSize) { - osg::notify(osg::NOTICE)<<"Warning: new MaxTexturePoolSize is smaller than current TexturePoolSize"<