diff options
author | Thierry Crozat | 2018-07-29 13:57:20 +0100 |
---|---|---|
committer | Thierry Crozat | 2018-07-29 13:57:20 +0100 |
commit | f337c906188c5a29400eb8a23426d8463d85dec1 (patch) | |
tree | 1a26940cc3c7bc7c70d3a94abd379868e21bb4f6 /gui | |
parent | 95fb46049e4c5a688d2d3e942e60fb4b18a4d7f0 (diff) | |
download | scummvm-rg350-f337c906188c5a29400eb8a23426d8463d85dec1.tar.gz scummvm-rg350-f337c906188c5a29400eb8a23426d8463d85dec1.tar.bz2 scummvm-rg350-f337c906188c5a29400eb8a23426d8463d85dec1.zip |
GUI: Fix graphics options visibility depending on supported featuress
Diffstat (limited to 'gui')
-rw-r--r-- | gui/options.cpp | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/gui/options.cpp b/gui/options.cpp index d6ee02b823..7d692d9372 100644 --- a/gui/options.cpp +++ b/gui/options.cpp @@ -1422,10 +1422,18 @@ void OptionsDialog::setupGraphicsTab() { return; _gfxPopUpDesc->setVisible(true); _gfxPopUp->setVisible(true); - _stretchPopUpDesc->setVisible(true); - _stretchPopUp->setVisible(true); + if (g_system->hasFeature(OSystem::kFeatureStretchMode)) { + _stretchPopUpDesc->setVisible(true); + _stretchPopUp->setVisible(true); + } else { + _stretchPopUpDesc->setVisible(false); + _stretchPopUp->setVisible(false); + } _fullscreenCheckbox->setVisible(true); - _filteringCheckbox->setVisible(true); + if (g_system->hasFeature(OSystem::kFeatureFilteringMode)) + _filteringCheckbox->setVisible(true); + else + _filteringCheckbox->setVisible(false); _aspectCheckbox->setVisible(true); _renderModePopUpDesc->setVisible(true); _renderModePopUp->setVisible(true); |