mirror of
https://github.com/elasota/Aerofoil.git
synced 2025-12-13 19:49:36 +00:00
Fixed some more cases where the screen resolution could become desynced during startup.
This commit is contained in:
@@ -392,6 +392,8 @@ void StepLoadScreenRing()
|
|||||||
|
|
||||||
void CreateLoadScreenWindow(int phase)
|
void CreateLoadScreenWindow(int phase)
|
||||||
{
|
{
|
||||||
|
FlushResolutionChange();
|
||||||
|
|
||||||
if (loadScreenRingSurface)
|
if (loadScreenRingSurface)
|
||||||
{
|
{
|
||||||
DisposeGWorld(loadScreenRingSurface);
|
DisposeGWorld(loadScreenRingSurface);
|
||||||
@@ -1139,9 +1141,12 @@ int gpAppMain()
|
|||||||
{
|
{
|
||||||
WriteOutPrefs();
|
WriteOutPrefs();
|
||||||
|
|
||||||
|
FlushResolutionChange();
|
||||||
ShowInitialLaunchDisclaimer();
|
ShowInitialLaunchDisclaimer();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
FlushResolutionChange();
|
||||||
|
|
||||||
OpenMainWindow();
|
OpenMainWindow();
|
||||||
|
|
||||||
if (isDoColorFade)
|
if (isDoColorFade)
|
||||||
|
|||||||
Reference in New Issue
Block a user