[Scummvm-git-logs] scummvm master -> 9522773ca80af10b5c04185de9872de433d1ebdb
sev-
noreply at scummvm.org
Sun Oct 30 22:07:56 UTC 2022
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:
9522773ca8 GUI: Do not run shader test when shader is cleared
Commit: 9522773ca80af10b5c04185de9872de433d1ebdb
https://github.com/scummvm/scummvm/commit/9522773ca80af10b5c04185de9872de433d1ebdb
Author: Eugene Sandulenko (sev at scummvm.org)
Date: 2022-10-30T23:07:35+01:00
Commit Message:
GUI: Do not run shader test when shader is cleared
Changed paths:
gui/options.cpp
diff --git a/gui/options.cpp b/gui/options.cpp
index a48c9cb70fa..ecbb2dbffcc 100644
--- a/gui/options.cpp
+++ b/gui/options.cpp
@@ -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";
More information about the Scummvm-git-logs
mailing list