fix postfx fix

This commit is contained in:
aap 2021-02-28 19:03:46 +01:00 committed by Sergeanur
parent 8488dc791a
commit 77ca9c593f

View File

@ -498,6 +498,12 @@ CameraSize(RwCamera * camera, RwRect * rect,
raster->width = zRaster->width = rect->w; raster->width = zRaster->width = rect->w;
raster->height = zRaster->height = rect->h; raster->height = zRaster->height = rect->h;
#endif
#ifdef FIX_BUGS
if(CMBlur::BlurOn){
CMBlur::MotionBlurClose();
CMBlur::MotionBlurOpen(camera);
}
#endif #endif
} }
@ -527,13 +533,6 @@ CameraSize(RwCamera * camera, RwRect * rect,
RsGlobal.width = rect->w; RsGlobal.width = rect->w;
RsGlobal.height = rect->h; RsGlobal.height = rect->h;
#ifdef FIX_BUGS
if(CMBlur::BlurOn){
CMBlur::MotionBlurClose();
CMBlur::MotionBlurOpen(camera);
}
#endif
} }
return; return;