[Scummvm-git-logs] scummvm master -> 43f88c7d014740d61384886a260b5696ccda402d
bluegr
noreply at scummvm.org
Thu Jul 4 16:12:44 UTC 2024
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:
43f88c7d01 GUI: rebuild if _aspectCheckbox is expected
Commit: 43f88c7d014740d61384886a260b5696ccda402d
https://github.com/scummvm/scummvm/commit/43f88c7d014740d61384886a260b5696ccda402d
Author: scummvmuser (150493071+scummvmuser at users.noreply.github.com)
Date: 2024-07-04T19:12:41+03:00
Commit Message:
GUI: rebuild if _aspectCheckbox is expected
Fixes or works around https://bugs.scummvm.org/ticket/15243 . This may
not be appropriate, but it avoids a segfault (nil _aspectCheckbox) for
me when I've specified `--disable-aspect` and switch from SDL to
OpenGL, anyway.
Changed paths:
gui/options.cpp
diff --git a/gui/options.cpp b/gui/options.cpp
index 1ae2bd3edcd..d1c33f373d0 100644
--- a/gui/options.cpp
+++ b/gui/options.cpp
@@ -2033,6 +2033,8 @@ void OptionsDialog::setupGraphicsTab() {
rebuild();
} else if (!_stretchPopUp && g_system->hasFeature(OSystem::kFeatureStretchMode)) {
rebuild();
+ } else if (!_aspectCheckbox && g_system->hasFeature(OSystem::kFeatureAspectRatioCorrection)) {
+ rebuild();
}
setGraphicSettingsState(_enableGraphicSettings);
}
More information about the Scummvm-git-logs
mailing list