diff --git a/src/common/startscreen/startscreen.cpp b/src/common/startscreen/startscreen.cpp index 1cb399235..abfac343f 100644 --- a/src/common/startscreen/startscreen.cpp +++ b/src/common/startscreen/startscreen.cpp @@ -656,7 +656,11 @@ void FStartScreen::Render(bool force) { auto nowtime = I_msTime(); // Do not refresh too often. This function gets called a lot more frequently than the screen can update. +#ifdef _DEBUG + if (nowtime - screen->FrameTime > 3000 || force) +#else if (nowtime - screen->FrameTime > 30 || force) +#endif { screen->FrameTime = nowtime; screen->FrameTimeNS = I_nsTime(); diff --git a/src/common/startscreen/startscreen_generic.cpp b/src/common/startscreen/startscreen_generic.cpp index ca6f12128..b76cbd3e2 100644 --- a/src/common/startscreen/startscreen_generic.cpp +++ b/src/common/startscreen/startscreen_generic.cpp @@ -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);