From f5bb42b19fa7ccd2c4594aa6a7374aa622f2063d Mon Sep 17 00:00:00 2001 From: Ryan Huffman Date: Tue, 25 Apr 2017 16:52:21 -0700 Subject: [PATCH] Remove request of mip from GL45BackendVariableTexture --- libraries/gpu-gl/src/gpu/gl45/GL45BackendVariableTexture.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/libraries/gpu-gl/src/gpu/gl45/GL45BackendVariableTexture.cpp b/libraries/gpu-gl/src/gpu/gl45/GL45BackendVariableTexture.cpp index 39c8c4a7f5..2a02f9b87b 100644 --- a/libraries/gpu-gl/src/gpu/gl45/GL45BackendVariableTexture.cpp +++ b/libraries/gpu-gl/src/gpu/gl45/GL45BackendVariableTexture.cpp @@ -76,10 +76,6 @@ void GL45ResourceTexture::allocateStorage(uint16 allocatedMip) { _size += _gpuObject.evalMipSize(mip); } - if (!_gpuObject.isStoredMipFaceAvailable(allocatedMip, 0)) { - const_cast(_gpuObject).requestInterestInMip(allocatedMip); - } - Backend::updateTextureGPUMemoryUsage(0, _size); }