mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-03 09:23:37 +00:00
GUI: Do not run shader test when shader is cleared
This commit is contained in:
parent
ab12e7fe01
commit
9522773ca8
@ -833,7 +833,7 @@ void OptionsDialog::apply() {
|
||||
shader = ConfMan.get("shader", _domain);
|
||||
|
||||
// If shader was changed, show the test dialog
|
||||
if (previousShader != shader && !shader.empty()) {
|
||||
if (previousShader != shader && !shader.empty() && shader != "default") {
|
||||
if (!testGraphicsSettings()) {
|
||||
if (previousShader == _c("None", "shader"))
|
||||
previousShader = "default";
|
||||
|
Loading…
x
Reference in New Issue
Block a user