Fixed some more cases where the screen resolution could become desynced during startup.

This commit is contained in:
elasota
2020-11-30 19:02:42 -05:00
parent 6851025147
commit 7961ca3af7

View File

@@ -392,6 +392,8 @@ void StepLoadScreenRing()
void CreateLoadScreenWindow(int phase)
{
FlushResolutionChange();
if (loadScreenRingSurface)
{
DisposeGWorld(loadScreenRingSurface);
@@ -1139,9 +1141,12 @@ int gpAppMain()
{
WriteOutPrefs();
FlushResolutionChange();
ShowInitialLaunchDisclaimer();
}
FlushResolutionChange();
OpenMainWindow();
if (isDoColorFade)