From d1e90b68785a09be80725867a8a2a3f237a6261b Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Thu, 2 Sep 2010 07:55:36 +0000 Subject: [PATCH] Added to Text::resizeGLObjectBuffers(uint) the follow: _textureObjectBuffer.resize(maxSize); _texParametersDirtyList.resize(maxSize); --- src/osg/Texture.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/osg/Texture.cpp b/src/osg/Texture.cpp index 9c496d035..eecd4cb83 100644 --- a/src/osg/Texture.cpp +++ b/src/osg/Texture.cpp @@ -2166,6 +2166,8 @@ void Texture::compileGLObjects(State& state) const void Texture::resizeGLObjectBuffers(unsigned int maxSize) { _textureObjectBuffer.resize(maxSize); + _texParametersDirtyList.resize(maxSize); + _texMipmapGenerationDirtyList.resize(maxSize); } void Texture::releaseGLObjects(State* state) const