summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2021-02-28 19:04:15 +0100
committeraap <aap@papnet.eu>2021-02-28 19:04:15 +0100
commit7c42ed6edb06bdd26ef34341c83666e329c908b8 (patch)
treeb220a8828aac61293d1dd6c93391c004b019b6ca
parentfix postfx (diff)
downloadre3-7c42ed6edb06bdd26ef34341c83666e329c908b8.tar
re3-7c42ed6edb06bdd26ef34341c83666e329c908b8.tar.gz
re3-7c42ed6edb06bdd26ef34341c83666e329c908b8.tar.bz2
re3-7c42ed6edb06bdd26ef34341c83666e329c908b8.tar.lz
re3-7c42ed6edb06bdd26ef34341c83666e329c908b8.tar.xz
re3-7c42ed6edb06bdd26ef34341c83666e329c908b8.tar.zst
re3-7c42ed6edb06bdd26ef34341c83666e329c908b8.zip
-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 1a2ba057..69f57933 100644
--- a/src/rw/RwHelper.cpp
+++ b/src/rw/RwHelper.cpp
@@ -581,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 */
@@ -609,13 +615,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;