diff options
author | aap <aap@papnet.eu> | 2021-02-18 12:21:47 +0100 |
---|---|---|
committer | aap <aap@papnet.eu> | 2021-02-18 12:21:47 +0100 |
commit | 9db87fc6365ee76f3281ca2474f92ec4f155920d (patch) | |
tree | 1b60c229e7ac6212d1d96025d32473c9ec9f6eef /src/render/Shadows.cpp | |
parent | update librw (diff) | |
download | re3-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/render/Shadows.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/render/Shadows.cpp b/src/render/Shadows.cpp index d7eccbfd..3884d3bb 100644 --- a/src/render/Shadows.cpp +++ b/src/render/Shadows.cpp @@ -687,6 +687,8 @@ CShadows::SetRenderModeForShadowType(uint8 ShadowType) void CShadows::RenderStoredShadows(void) { + PUSH_RENDERGROUP("CShadows::RenderStoredShadows"); + RenderBuffer::ClearRenderBuffer(); RwRenderStateSet(rwRENDERSTATEZWRITEENABLE, (void *)FALSE); @@ -784,11 +786,15 @@ CShadows::RenderStoredShadows(void) RwRenderStateSet(rwRENDERSTATEZTESTENABLE, (void *)TRUE); ShadowsStoredToBeRendered = 0; + + POP_RENDERGROUP(); } void CShadows::RenderStaticShadows(void) { + PUSH_RENDERGROUP("CShadows::RenderStaticShadows"); + RenderBuffer::ClearRenderBuffer(); RwRenderStateSet(rwRENDERSTATEZWRITEENABLE, (void *)FALSE); @@ -855,6 +861,8 @@ CShadows::RenderStaticShadows(void) RwRenderStateSet(rwRENDERSTATEVERTEXALPHAENABLE, (void *)FALSE); RwRenderStateSet(rwRENDERSTATEZWRITEENABLE, (void *)TRUE); + + POP_RENDERGROUP(); } void |