diff --git a/libraries/gpu-gl/src/gpu/gl45/GL45BackendTexture.cpp b/libraries/gpu-gl/src/gpu/gl45/GL45BackendTexture.cpp index 9a9185cd7c..ac1f4fddca 100644 --- a/libraries/gpu-gl/src/gpu/gl45/GL45BackendTexture.cpp +++ b/libraries/gpu-gl/src/gpu/gl45/GL45BackendTexture.cpp @@ -456,7 +456,6 @@ void GL45Backend::derezTextures() const { qDebug() << "Allowed texture memory " << Texture::getAllowedGPUMemoryUsage(); qDebug() << "Used texture memory " << Context::getTextureGPUMemoryUsage(); - auto& textureMap = texturesByMipCounts; GL45Texture* targetTexture = nullptr; { auto& textures = texturesByMipCounts[mipLevel];