fixing the Populated metric

This commit is contained in:
Sam Cake 2017-05-22 23:40:23 -07:00
parent 7f9c98a922
commit 2301954d62

View file

@ -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 {