From bca9da48fc4acb5cb3534b0c6b3ca4a84831bee7 Mon Sep 17 00:00:00 2001 From: Brad Davis Date: Wed, 21 Sep 2016 07:43:12 -0700 Subject: [PATCH] Fix warnings --- libraries/gpu-gl/src/gpu/gl45/GL45BackendTexture.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/libraries/gpu-gl/src/gpu/gl45/GL45BackendTexture.cpp b/libraries/gpu-gl/src/gpu/gl45/GL45BackendTexture.cpp index de61952a93..43aa257028 100644 --- a/libraries/gpu-gl/src/gpu/gl45/GL45BackendTexture.cpp +++ b/libraries/gpu-gl/src/gpu/gl45/GL45BackendTexture.cpp @@ -278,7 +278,6 @@ GL45Texture::~GL45Texture() { const_cast(_id) = 0; std::list> destructionFunctions; - auto minMip = _minMip; uint8_t maxFace = (uint8_t)((_target == GL_TEXTURE_CUBE_MAP) ? GLTexture::CUBE_NUM_FACES : 1); auto maxSparseMip = std::min(_maxMip, _sparseInfo._maxSparseLevel); for (uint16_t mipLevel = _minMip; mipLevel <= maxSparseMip; ++mipLevel) {