mirror of
https://github.com/td512/re3.git
synced 2026-03-02 08:26:05 +00:00
neo screen droplets
This commit is contained in:
@@ -375,6 +375,14 @@ CPostFX::NeedFrontBuffer(int32 type)
|
||||
return false;
|
||||
}
|
||||
|
||||
void
|
||||
CPostFX::GetBackBuffer(RwCamera *cam)
|
||||
{
|
||||
RwRasterPushContext(pBackBuffer);
|
||||
RwRasterRenderFast(RwCameraGetRaster(cam), 0, 0);
|
||||
RwRasterPopContext();
|
||||
}
|
||||
|
||||
void
|
||||
CPostFX::Render(RwCamera *cam, uint32 red, uint32 green, uint32 blue, uint32 blur, int32 type, uint32 bluralpha)
|
||||
{
|
||||
@@ -391,11 +399,8 @@ CPostFX::Render(RwCamera *cam, uint32 red, uint32 green, uint32 blue, uint32 blu
|
||||
blur = AvgAlpha;
|
||||
}
|
||||
|
||||
if(NeedBackBuffer()){
|
||||
RwRasterPushContext(pBackBuffer);
|
||||
RwRasterRenderFast(RwCameraGetRaster(cam), 0, 0);
|
||||
RwRasterPopContext();
|
||||
}
|
||||
if(NeedBackBuffer())
|
||||
GetBackBuffer(cam);
|
||||
|
||||
DefinedState();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user