mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-25 17:14:59 +02:00
Replace canPromoteAndPopulate with multiple function calls
This commit is contained in:
parent
7cab70deba
commit
b2ff0a711e
1 changed files with 1 additions and 1 deletions
|
@ -85,7 +85,7 @@ GLTexture* GL45Backend::syncGPUObject(const TexturePointer& texturePointer) {
|
|||
if (texture.getUsageType() == TextureUsageType::RESOURCE) {
|
||||
auto varTex = static_cast<GL45VariableAllocationTexture*> (object);
|
||||
|
||||
if (varTex->canPromoteAndPopulate()) {
|
||||
if (varTex->canPromote() && varTex->canPopulate()) {
|
||||
GL45VariableAllocationTexture::_memoryPressureStateStale = true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue