summaryrefslogtreecommitdiff
path: root/src
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 /src
parentce604c77bade850b7e02673b25d21c5f001548ca (diff)
fix postfx fix
Diffstat (limited to 'src')
-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;