Codechange: don't set the window position when changing blitter

There really is no need to make an extra call to the OS in
these cases.
This commit is contained in:
Michael Lutz
2021-03-08 13:48:32 +01:00
committed by Patric Stout
parent b9eac7c6dc
commit 3a4a15cc93
2 changed files with 6 additions and 5 deletions

View File

@@ -54,7 +54,7 @@ protected:
bool PollEvent() override;
void Initialize();
bool MakeWindow(bool full_screen);
bool MakeWindow(bool full_screen, bool resize = true);
void ClientSizeChanged(int w, int h, bool force = false);
/** Get screen depth to use for fullscreen mode. */