commit e78f942b
Do not write the fullscreen size to config file
Changed files
| M | source/code/main.cpp before |
diff --git a/source/code/main.cpp b/source/code/main.cpp
index f924a2d..b5d7da6 100644
--- a/source/code/main.cpp
+++ b/source/code/main.cpp
@@ -1201,7 +1201,7 @@ int main(int argc, char* argv[]) {
configSettings->setString("player1name", globalData.player1name);
configSettings->setString("player2name", globalData.player2name);
- {
+ if (!globalData.bFullscreen){
//Store physical height of window
int height = 0;
SDL_GetWindowSize(sdlWindow, nullptr, &height);