BACKENDS: OPENGLSDL: Flush config file after resize events

This commit is contained in:
Lothar Serra Mari 2021-04-18 15:16:52 +02:00
parent 0cba225a96
commit f288ab7e20

View file

@ -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