diff options
author | aap <aap@papnet.eu> | 2021-02-18 12:21:52 +0100 |
---|---|---|
committer | aap <aap@papnet.eu> | 2021-02-18 12:21:52 +0100 |
commit | 996772faf2b7ed17269af194c6d9dcbdb37732fe (patch) | |
tree | cfb4d76317a169f665bf1f500e36d4aa2c0e54ec /src/render/Shadows.cpp | |
parent | Merge branch 'miami' of github.com:GTAmodding/re3 into miami (diff) | |
download | re3-996772faf2b7ed17269af194c6d9dcbdb37732fe.tar re3-996772faf2b7ed17269af194c6d9dcbdb37732fe.tar.gz re3-996772faf2b7ed17269af194c6d9dcbdb37732fe.tar.bz2 re3-996772faf2b7ed17269af194c6d9dcbdb37732fe.tar.lz re3-996772faf2b7ed17269af194c6d9dcbdb37732fe.tar.xz re3-996772faf2b7ed17269af194c6d9dcbdb37732fe.tar.zst re3-996772faf2b7ed17269af194c6d9dcbdb37732fe.zip |
Diffstat (limited to 'src/render/Shadows.cpp')
-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 91f53acf..ae079821 100644 --- a/src/render/Shadows.cpp +++ b/src/render/Shadows.cpp @@ -1068,6 +1068,8 @@ CShadows::SetRenderModeForShadowType(uint8 ShadowType) void CShadows::RenderStoredShadows(void) { + PUSH_RENDERGROUP("CShadows::RenderStoredShadows"); + RenderBuffer::ClearRenderBuffer(); RwRenderStateSet(rwRENDERSTATEZWRITEENABLE, (void *)FALSE); @@ -1241,12 +1243,16 @@ CShadows::RenderStoredShadows(void) RwRenderStateSet(rwRENDERSTATETEXTUREADDRESS, (void *)rwTEXTUREADDRESSWRAP); ShadowsStoredToBeRendered = 0; + + POP_RENDERGROUP(); } void CShadows::RenderStaticShadows(void) { + PUSH_RENDERGROUP("CShadows::RenderStaticShadows"); + RenderBuffer::ClearRenderBuffer(); RwRenderStateSet(rwRENDERSTATEZWRITEENABLE, (void *)FALSE); @@ -1313,6 +1319,8 @@ CShadows::RenderStaticShadows(void) RwRenderStateSet(rwRENDERSTATEVERTEXALPHAENABLE, (void *)FALSE); RwRenderStateSet(rwRENDERSTATEZWRITEENABLE, (void *)TRUE); + + POP_RENDERGROUP(); } |