summaryrefslogtreecommitdiffstats
path: root/src/rw
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2021-04-09 03:31:46 +0200
committerSergeanur <s.anureev@yandex.ua>2021-04-09 03:31:46 +0200
commit519218572a1303f6717bbc2cccc45d0c8a272d33 (patch)
tree50ae3120394891b6810ede249c8a71811c0591bc /src/rw
parentMerge branch 'miami' into lcs (diff)
parentupdate librw (diff)
downloadre3-519218572a1303f6717bbc2cccc45d0c8a272d33.tar
re3-519218572a1303f6717bbc2cccc45d0c8a272d33.tar.gz
re3-519218572a1303f6717bbc2cccc45d0c8a272d33.tar.bz2
re3-519218572a1303f6717bbc2cccc45d0c8a272d33.tar.lz
re3-519218572a1303f6717bbc2cccc45d0c8a272d33.tar.xz
re3-519218572a1303f6717bbc2cccc45d0c8a272d33.tar.zst
re3-519218572a1303f6717bbc2cccc45d0c8a272d33.zip
Diffstat (limited to 'src/rw')
-rw-r--r--src/rw/RwHelper.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/rw/RwHelper.cpp b/src/rw/RwHelper.cpp
index 12816c29..6021b866 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
@@ -580,6 +581,12 @@ CameraSize(RwCamera * camera, RwRect * rect,
raster->width = zRaster->width = rect->w;
raster->height = zRaster->height = rect->h;
#endif
+#ifdef FIX_BUGS
+ if(CMBlur::BlurOn){
+ CMBlur::MotionBlurClose();
+ CMBlur::MotionBlurOpen(camera);
+ }
+#endif
}
/* Figure out the view window */