summaryrefslogtreecommitdiffstats
path: root/src/rw/RwHelper.cpp
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2021-02-28 15:30:13 +0100
committeraap <aap@papnet.eu>2021-02-28 15:30:13 +0100
commitce604c77bade850b7e02673b25d21c5f001548ca (patch)
tree6bd72ff023794d2a430f81796984b904be5cfefc /src/rw/RwHelper.cpp
parentproper radar clipping (diff)
downloadre3-ce604c77bade850b7e02673b25d21c5f001548ca.tar
re3-ce604c77bade850b7e02673b25d21c5f001548ca.tar.gz
re3-ce604c77bade850b7e02673b25d21c5f001548ca.tar.bz2
re3-ce604c77bade850b7e02673b25d21c5f001548ca.tar.lz
re3-ce604c77bade850b7e02673b25d21c5f001548ca.tar.xz
re3-ce604c77bade850b7e02673b25d21c5f001548ca.tar.zst
re3-ce604c77bade850b7e02673b25d21c5f001548ca.zip
Diffstat (limited to 'src/rw/RwHelper.cpp')
-rw-r--r--src/rw/RwHelper.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/rw/RwHelper.cpp b/src/rw/RwHelper.cpp
index 9b0ba137..1a2ba057 100644
--- a/src/rw/RwHelper.cpp
+++ b/src/rw/RwHelper.cpp
@@ -4,6 +4,7 @@
#include "Timecycle.h"
#include "skeleton.h"
#include "Debug.h"
+#include "MBlur.h"
#if !defined(FINAL) || defined(DEBUGMENU)
#include "rtcharse.h"
#endif
@@ -608,6 +609,13 @@ CameraSize(RwCamera * camera, RwRect * rect,
RsGlobal.width = rect->w;
RsGlobal.height = rect->h;
+
+#ifdef FIX_BUGS
+ if(CMBlur::BlurOn){
+ CMBlur::MotionBlurClose();
+ CMBlur::MotionBlurOpen(camera);
+ }
+#endif
}
return;