BACKENDS: OPENGLSDL: Flush config file after resize events
This commit is contained in:
parent
0cba225a96
commit
f288ab7e20
1 changed files with 1 additions and 0 deletions
|
@ -304,6 +304,7 @@ void OpenGLSdlGraphicsManager::notifyResize(const int width, const int height) {
|
||||||
if (!_wantsFullScreen) {
|
if (!_wantsFullScreen) {
|
||||||
ConfMan.setInt("last_window_width", currentWidth, Common::ConfigManager::kApplicationDomain);
|
ConfMan.setInt("last_window_width", currentWidth, Common::ConfigManager::kApplicationDomain);
|
||||||
ConfMan.setInt("last_window_height", currentHeight, Common::ConfigManager::kApplicationDomain);
|
ConfMan.setInt("last_window_height", currentHeight, Common::ConfigManager::kApplicationDomain);
|
||||||
|
ConfMan.flushToDisk();
|
||||||
}
|
}
|
||||||
|
|
||||||
#else
|
#else
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue