fix postfx fix

This commit is contained in:
aap 2021-02-28 19:04:15 +01:00
parent ce604c77ba
commit 7c42ed6edb

View file

@ -580,6 +580,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
}
@ -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;