mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-02 23:26:44 +00:00
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.
This commit is contained in:
parent
c0667b92b9
commit
43f88c7d01
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user