Skip to content

Commit 4ab8854

Browse files
committed
Clear target if loading screen is unavailable
This fixes visible precache that you should not see
1 parent 9b1aedc commit 4ab8854

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/xrEngine/x_ray.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -519,4 +519,6 @@ void CApplication::load_draw_internal()
519519
{
520520
if (loadingScreen)
521521
loadingScreen->Update(load_stage, max_load_stage);
522+
else
523+
GEnv.Render->ClearTarget();
522524
}

0 commit comments

Comments
 (0)