summaryrefslogtreecommitdiff
path: root/src/core/Frontend.cpp
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2020-12-27 16:09:01 +0100
committeraap <aap@papnet.eu>2020-12-27 16:09:01 +0100
commit5a74495d7b8a5bec2987dab7f4f4cbf6bb1e6e9a (patch)
treebea97d12bef704940290feaef13393300d45eec1 /src/core/Frontend.cpp
parent904746054c92f8a931e677a33fb4a64fd2a4d6d2 (diff)
little hack to make new postfx not crash
Diffstat (limited to 'src/core/Frontend.cpp')
-rw-r--r--src/core/Frontend.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/core/Frontend.cpp b/src/core/Frontend.cpp
index 92f98b0d..fd7475ef 100644
--- a/src/core/Frontend.cpp
+++ b/src/core/Frontend.cpp
@@ -5375,6 +5375,10 @@ CMenuManager::SwitchMenuOnAndOff()
Initialise();
LoadAllTextures();
} else {
+#ifdef EXTENDED_COLOURFILTER
+ // we always expect CPostFX to be open
+ CMBlur::BlurOn = true;
+#endif
if (CMBlur::BlurOn)
CMBlur::MotionBlurOpen(Scene.camera);
else