Added to Text::resizeGLObjectBuffers(uint) the follow:

_textureObjectBuffer.resize(maxSize);
    _texParametersDirtyList.resize(maxSize);
This commit is contained in:
Robert Osfield
2010-09-02 07:55:36 +00:00
parent a5d490c03f
commit d1e90b6878

View File

@@ -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