mirror of
https://github.com/overte-org/overte.git
synced 2025-08-09 17:01:18 +02:00
Fix resource texture memory usage tracking
This commit is contained in:
parent
2a2102c7fe
commit
bccc06d2fe
1 changed files with 1 additions and 1 deletions
|
@ -231,7 +231,7 @@ GL41VariableAllocationTexture::GL41VariableAllocationTexture(const std::weak_ptr
|
||||||
}
|
}
|
||||||
|
|
||||||
GL41VariableAllocationTexture::~GL41VariableAllocationTexture() {
|
GL41VariableAllocationTexture::~GL41VariableAllocationTexture() {
|
||||||
Backend::updateTextureGPUMemoryUsage(0, _size);
|
Backend::updateTextureGPUMemoryUsage(_size, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
void GL41VariableAllocationTexture::allocateStorage(uint16 allocatedMip) {
|
void GL41VariableAllocationTexture::allocateStorage(uint16 allocatedMip) {
|
||||||
|
|
Loading…
Reference in a new issue