summaryrefslogtreecommitdiffstats
path: root/src/extras
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2021-02-18 12:21:47 +0100
committeraap <aap@papnet.eu>2021-02-18 12:21:47 +0100
commit9db87fc6365ee76f3281ca2474f92ec4f155920d (patch)
tree1b60c229e7ac6212d1d96025d32473c9ec9f6eef /src/extras
parentupdate librw (diff)
downloadre3-9db87fc6365ee76f3281ca2474f92ec4f155920d.tar
re3-9db87fc6365ee76f3281ca2474f92ec4f155920d.tar.gz
re3-9db87fc6365ee76f3281ca2474f92ec4f155920d.tar.bz2
re3-9db87fc6365ee76f3281ca2474f92ec4f155920d.tar.lz
re3-9db87fc6365ee76f3281ca2474f92ec4f155920d.tar.xz
re3-9db87fc6365ee76f3281ca2474f92ec4f155920d.tar.zst
re3-9db87fc6365ee76f3281ca2474f92ec4f155920d.zip
Diffstat (limited to '')
-rw-r--r--src/extras/postfx.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/extras/postfx.cpp b/src/extras/postfx.cpp
index b94d245d..03d4833e 100644
--- a/src/extras/postfx.cpp
+++ b/src/extras/postfx.cpp
@@ -7,6 +7,7 @@
#error "Need librw for EXTENDED_COLOURFILTER"
#endif
+#include "main.h"
#include "RwHelper.h"
#include "Camera.h"
#include "MBlur.h"
@@ -407,6 +408,7 @@ CPostFX::Render(RwCamera *cam, uint32 red, uint32 green, uint32 blue, uint32 blu
break;
}
+ PUSH_RENDERGROUP("CPostFX::Render");
if(pFrontBuffer == nil)
Open(cam);
assert(pFrontBuffer);
@@ -464,6 +466,8 @@ CPostFX::Render(RwCamera *cam, uint32 red, uint32 green, uint32 blue, uint32 blu
bJustInitialised = false;
}else
bJustInitialised = true;
+
+ POP_RENDERGROUP();
}
#endif