Skip to content

Commit

Permalink
Clear target if loading screen is unavailable
Browse files Browse the repository at this point in the history
This fixes visible precache that you should not see
  • Loading branch information
Xottab-DUTY committed Jul 27, 2018
1 parent 9b1aedc commit 4ab8854
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/xrEngine/x_ray.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -519,4 +519,6 @@ void CApplication::load_draw_internal()
{
if (loadingScreen)
loadingScreen->Update(load_stage, max_load_stage);
else
GEnv.Render->ClearTarget();
}

0 comments on commit 4ab8854

Please sign in to comment.