mirror of
https://github.com/overte-org/overte.git
synced 2025-04-21 19:04:32 +02:00
Use removeUnusedResources
This commit is contained in:
parent
98dd401ea3
commit
08317b51da
1 changed files with 1 additions and 1 deletions
|
@ -203,7 +203,7 @@ NetworkTexturePointer TextureCache::getTexture(const QUrl& url, TextureType type
|
|||
texture->setCache(this);
|
||||
_dilatableNetworkTextures.insert(url, texture);
|
||||
} else {
|
||||
_unusedResources.remove(texture->getLRUKey());
|
||||
removeUnusedResource(texture);
|
||||
}
|
||||
return texture;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue