Fix deadlock in asset thumbnails rendering queue when texture streaming fails

#2057
This commit is contained in:
Wojtek Figat
2023-12-14 16:05:15 +01:00
parent 60202a3add
commit d7b17ae0a6
7 changed files with 37 additions and 8 deletions

View File

@@ -296,6 +296,7 @@ Task* StreamingTexture::UpdateAllocation(int32 residency)
// Setup texture
if (texture->Init(desc))
{
Streaming.Error = true;
LOG(Error, "Cannot allocate texture {0}.", ToString());
}
if (allocatedResidency != 0)