mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-25 17:14:59 +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);
|
||||
}
|
||||
|
||||
if (!_gpuObject.isStoredMipFaceAvailable(allocatedMip, 0)) {
|
||||
const_cast<gpu::Texture&>(_gpuObject).requestInterestInMip(allocatedMip);
|
||||
}
|
||||
|
||||
Backend::updateTextureGPUMemoryUsage(0, _size);
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue