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/control | |
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 'src/control')
-rw-r--r-- | src/control/Pickups.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/control/Pickups.cpp b/src/control/Pickups.cpp index 96a8a670..be9f734d 100644 --- a/src/control/Pickups.cpp +++ b/src/control/Pickups.cpp @@ -1330,6 +1330,8 @@ CPacManPickups::Render() { if (!bPMActive) return; + PUSH_RENDERGROUP("CPacManPickups::Render"); + RwRenderStateSet(rwRENDERSTATEZWRITEENABLE, FALSE); RwRenderStateSet(rwRENDERSTATEVERTEXALPHAENABLE, (void*)TRUE); RwRenderStateSet(rwRENDERSTATESRCBLEND, (void*)rwBLENDONE); @@ -1363,6 +1365,8 @@ CPacManPickups::Render() RwRenderStateSet(rwRENDERSTATEDESTBLEND, (void*)rwBLENDINVSRCALPHA); RwRenderStateSet(rwRENDERSTATEZWRITEENABLE, (void*)TRUE); RwRenderStateSet(rwRENDERSTATEVERTEXALPHAENABLE, FALSE); + + POP_RENDERGROUP(); } void |