summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2021-02-28 19:03:46 +0100
committerSergeanur <s.anureev@yandex.ua>2021-06-24 21:32:43 +0300
commit77ca9c593f7f04dcc1a1141bdaf197caa398afbf (patch)
tree07ae876105a0a0b07cf546c57c78d3200feebb52 /src
parent8488dc791aa0f14958c2ac46bbf45e9812e14331 (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 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;