Fix game splash screen to wait fr texture to be streamed in, not just allocated

This commit is contained in:
2025-07-29 21:42:37 +02:00
parent 6d05bf16b1
commit 8f63a99a2c
+1 -1
View File
@@ -211,7 +211,7 @@ void GameBaseImpl::OnPostRender(GPUContext* context, RenderContext& renderContex
}
// Wait for texture loaded before showing splash screen
if (!SplashScreen->IsLoaded() || SplashScreen.Get()->GetTexture()->MipLevels() != SplashScreen.Get()->StreamingTexture()->TotalMipLevels())
if (!SplashScreen->IsLoaded() || SplashScreen.Get()->GetResidentMipLevels() != SplashScreen.Get()->GetMipLevels())
{
return;
}