mirror of
https://github.com/overte-org/overte.git
synced 2025-08-07 23:49:55 +02:00
Remove request of mip from GL45BackendVariableTexture
This commit is contained in:
parent
65d30d1d0b
commit
f5bb42b19f
1 changed files with 0 additions and 4 deletions
|
@ -76,10 +76,6 @@ void GL45ResourceTexture::allocateStorage(uint16 allocatedMip) {
|
||||||
_size += _gpuObject.evalMipSize(mip);
|
_size += _gpuObject.evalMipSize(mip);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!_gpuObject.isStoredMipFaceAvailable(allocatedMip, 0)) {
|
|
||||||
const_cast<gpu::Texture&>(_gpuObject).requestInterestInMip(allocatedMip);
|
|
||||||
}
|
|
||||||
|
|
||||||
Backend::updateTextureGPUMemoryUsage(0, _size);
|
Backend::updateTextureGPUMemoryUsage(0, _size);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue