mirror of
https://gitlab.com/GaryOderNichts/re3-wiiu.git
synced 2024-11-22 09:09:15 +01:00
fix postfx
This commit is contained in:
parent
931bc690cd
commit
df1ad8e122
@ -48,6 +48,9 @@ CPostFX::InitOnce(void)
|
||||
void
|
||||
CPostFX::Open(RwCamera *cam)
|
||||
{
|
||||
if(pFrontBuffer)
|
||||
Close();
|
||||
|
||||
uint32 width = Pow(2.0f, int32(log2(RwRasterGetWidth (RwCameraGetRaster(cam))))+1);
|
||||
uint32 height = Pow(2.0f, int32(log2(RwRasterGetHeight(RwCameraGetRaster(cam))))+1);
|
||||
uint32 depth = RwRasterGetDepth(RwCameraGetRaster(cam));
|
||||
|
@ -6,6 +6,7 @@
|
||||
#include "Timecycle.h"
|
||||
#include "skeleton.h"
|
||||
#include "Debug.h"
|
||||
#include "MBlur.h"
|
||||
#if !defined(FINAL) || defined(DEBUGMENU)
|
||||
#include "rtcharse.h"
|
||||
#endif
|
||||
@ -526,6 +527,13 @@ 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;
|
||||
|
Loading…
Reference in New Issue
Block a user