From 7961ca3af7690393bdf0f483cefd67b63c333235 Mon Sep 17 00:00:00 2001 From: elasota Date: Mon, 30 Nov 2020 19:02:42 -0500 Subject: [PATCH] Fixed some more cases where the screen resolution could become desynced during startup. --- GpApp/Main.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/GpApp/Main.cpp b/GpApp/Main.cpp index 12f4d6f..dc1fa69 100644 --- a/GpApp/Main.cpp +++ b/GpApp/Main.cpp @@ -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)