1
0
mirror of https://github.com/blupi-games/planetblupi synced 2024-12-30 10:15:36 +01:00

Set the window size only if fullscreen is off

This commit is contained in:
Mathieu Schroeter 2017-09-20 06:46:35 +02:00
parent 6d4200e89c
commit 4ccd99fa04

View File

@ -924,7 +924,8 @@ DoInit (int argc, char * argv[], bool & exit)
g_pEvent->Create (g_pPixmap, g_pDecor, g_pSound, g_pMovie);
g_updateThread = new std::thread (CheckForUpdates);
g_pEvent->SetFullScreen (g_bFullScreen);
g_pEvent->SetWindowSize (g_windowScale);
if (!g_bFullScreen)
g_pEvent->SetWindowSize (g_windowScale);
g_pEvent->ChangePhase (EV_PHASE_INTRO1);
g_bTermInit = true;