diff options
-rw-r--r-- | src/graphicsmanager.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/graphicsmanager.cpp b/src/graphicsmanager.cpp index b82994d67..10eaea9ab 100644 --- a/src/graphicsmanager.cpp +++ b/src/graphicsmanager.cpp @@ -681,6 +681,7 @@ void GraphicsManager::updateTextureFormat() const { if (compressionFormat == 3) { + delete []formats; OpenGLImageHelper::setInternalTextureType( GL_COMPRESSED_RGBA_ARB); logger->log1("using ARB texture compression"); |