summaryrefslogtreecommitdiffstats
path: root/src/rw/RwHelper.cpp
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2021-02-28 19:03:46 +0100
committerSergeanur <s.anureev@yandex.ua>2021-06-24 20:32:43 +0200
commit77ca9c593f7f04dcc1a1141bdaf197caa398afbf (patch)
tree07ae876105a0a0b07cf546c57c78d3200feebb52 /src/rw/RwHelper.cpp
parentPointless fixes (diff)
downloadre3-77ca9c593f7f04dcc1a1141bdaf197caa398afbf.tar
re3-77ca9c593f7f04dcc1a1141bdaf197caa398afbf.tar.gz
re3-77ca9c593f7f04dcc1a1141bdaf197caa398afbf.tar.bz2
re3-77ca9c593f7f04dcc1a1141bdaf197caa398afbf.tar.lz
re3-77ca9c593f7f04dcc1a1141bdaf197caa398afbf.tar.xz
re3-77ca9c593f7f04dcc1a1141bdaf197caa398afbf.tar.zst
re3-77ca9c593f7f04dcc1a1141bdaf197caa398afbf.zip
Diffstat (limited to '')
-rw-r--r--src/rw/RwHelper.cpp13
1 files changed, 6 insertions, 7 deletions
diff --git a/src/rw/RwHelper.cpp b/src/rw/RwHelper.cpp
index a633a139..35593722 100644
--- a/src/rw/RwHelper.cpp
+++ b/src/rw/RwHelper.cpp
@@ -499,6 +499,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 */
@@ -527,13 +533,6 @@ 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;