Avoid updating startscreen too often in a debug build and fix crash if it never got updated even once
This commit is contained in:
parent
496b053567
commit
3c0414a6d8
2 changed files with 6 additions and 1 deletions
|
|
@ -113,7 +113,8 @@ bool FGenericStartScreen::DoProgress(int advance)
|
|||
{ // Time to draw another notch.
|
||||
ClearBlock(StartupBitmap, bcolor, (320 - 100) * 2, 480 * 2 - 30, notch_pos, 4 * 2);
|
||||
NotchPos = notch_pos;
|
||||
StartupTexture->CleanHardwareData(true);
|
||||
if (StartupTexture)
|
||||
StartupTexture->CleanHardwareData(true);
|
||||
}
|
||||
}
|
||||
return FStartScreen::DoProgress(advance);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue