mirror of
https://github.com/overte-org/overte.git
synced 2025-04-12 18:42:12 +02:00
Fetch unspecified textures on a delay
This fixes an abort caused by the assertion in ResourceCache::getResource: assert(delayLoad).
This commit is contained in:
parent
d615e2e83b
commit
1e925d7bd8
1 changed files with 1 additions and 1 deletions
|
@ -146,7 +146,7 @@ public:
|
|||
|
||||
NetworkTexturePointer TextureCache::getTexture(const QUrl& url, TextureType type, const QByteArray& content) {
|
||||
TextureExtra extra = { type, content };
|
||||
return ResourceCache::getResource(url, QUrl(), false, &extra).staticCast<NetworkTexture>();
|
||||
return ResourceCache::getResource(url, QUrl(), content.isEmpty(), &extra).staticCast<NetworkTexture>();
|
||||
}
|
||||
|
||||
/// Returns a texture version of an image file
|
||||
|
|
Loading…
Reference in a new issue