[Scummvm-git-logs] scummvm master -> f288ab7e20dd274b9291b0ff553eeac7eb0b851a

lotharsm mail at serra.me
Sun Apr 18 13:17:26 UTC 2021


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
f288ab7e20 BACKENDS: OPENGLSDL: Flush config file after resize events


Commit: f288ab7e20dd274b9291b0ff553eeac7eb0b851a
    https://github.com/scummvm/scummvm/commit/f288ab7e20dd274b9291b0ff553eeac7eb0b851a
Author: Lothar Serra Mari (mail at serra.me)
Date: 2021-04-18T15:16:52+02:00

Commit Message:
BACKENDS: OPENGLSDL: Flush config file after resize events

Changed paths:
    backends/graphics/openglsdl/openglsdl-graphics.cpp


diff --git a/backends/graphics/openglsdl/openglsdl-graphics.cpp b/backends/graphics/openglsdl/openglsdl-graphics.cpp
index a0bebd5da4..33eb0b80fd 100644
--- a/backends/graphics/openglsdl/openglsdl-graphics.cpp
+++ b/backends/graphics/openglsdl/openglsdl-graphics.cpp
@@ -304,6 +304,7 @@ void OpenGLSdlGraphicsManager::notifyResize(const int width, const int height) {
 	if (!_wantsFullScreen) {
 		ConfMan.setInt("last_window_width", currentWidth, Common::ConfigManager::kApplicationDomain);
 		ConfMan.setInt("last_window_height", currentHeight, Common::ConfigManager::kApplicationDomain);
+		ConfMan.flushToDisk();
 	}
 
 #else




More information about the Scummvm-git-logs mailing list