Added to Text::resizeGLObjectBuffers(uint) the follow:
_textureObjectBuffer.resize(maxSize);
_texParametersDirtyList.resize(maxSize);
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user