summaryrefslogtreecommitdiff
path: root/mm/src/code
diff options
context:
space:
mode:
authorArchez <Archez@users.noreply.github.com>2024-09-08 18:45:54 -0400
committerGitHub <noreply@github.com>2024-09-08 18:45:54 -0400
commit6ff3be97de804ea2fd190f91650fb4acbeb2a74e (patch)
treee9bb2fa1953774bb39e856c009044cd07cdc94cd /mm/src/code
parent466a716222eda597bd8e702f09e7163d4ef2e42e (diff)
fix some actor shadow textures not updating (#758)
Diffstat (limited to 'mm/src/code')
-rw-r--r--mm/src/code/z_sub_s.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/mm/src/code/z_sub_s.c b/mm/src/code/z_sub_s.c
index f2c5666cd..f6c97422d 100644
--- a/mm/src/code/z_sub_s.c
+++ b/mm/src/code/z_sub_s.c
@@ -1009,6 +1009,8 @@ void SubS_DrawShadowTex(Actor* actor, GameState* gameState, u8* tex) {
OPEN_DISPS(gfxCtx);
+ gSPInvalidateTexCache(POLY_OPA_DISP++, tex);
+
Gfx_SetupDL25_Opa(gfxCtx);
gDPSetPrimColor(POLY_OPA_DISP++, 0, 0, 0, 0, 0, 100);
gDPSetEnvColor(POLY_OPA_DISP++, 0, 0, 0, 0);