diff --git a/libraries/gpu-gl/src/gpu/gl41/GL41BackendTexture.cpp b/libraries/gpu-gl/src/gpu/gl41/GL41BackendTexture.cpp index ec687ade9f..9ae98bc88b 100644 --- a/libraries/gpu-gl/src/gpu/gl41/GL41BackendTexture.cpp +++ b/libraries/gpu-gl/src/gpu/gl41/GL41BackendTexture.cpp @@ -285,7 +285,7 @@ GL41VariableAllocationTexture::GL41VariableAllocationTexture(const std::weak_ptr GL41VariableAllocationTexture::~GL41VariableAllocationTexture() { Backend::textureResourceCount.decrement(); Backend::textureResourceGPUMemSize.update(_size, 0); - Backend::textureResourcePopulatedGPUMemSize.update(_size, 0); + Backend::textureResourcePopulatedGPUMemSize.update(_populatedSize, 0); } void GL41VariableAllocationTexture::incrementPopulatedSize(Size delta) const {