diff options
| author | Baoulettes <perlouzerie@hotmail.fr> | 2022-05-21 19:14:53 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-05-21 13:14:53 -0400 |
| commit | 226dd3a82825c8cc913acb736509ab9fbde86448 (patch) | |
| tree | ddd82ea54a5d63f1d0f77f4e1e9b3358109acd08 /soh/src/code | |
| parent | 076887e71f52d4258aa8fc77d3efeafe09d234d8 (diff) | |
add gSPInvalidateTexCache(); (#274)
Diffstat (limited to 'soh/src/code')
| -rw-r--r-- | soh/src/code/z_message_PAL.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/soh/src/code/z_message_PAL.c b/soh/src/code/z_message_PAL.c index ffb0581c7..b6d6b792b 100644 --- a/soh/src/code/z_message_PAL.c +++ b/soh/src/code/z_message_PAL.c @@ -1841,6 +1841,7 @@ void Message_DrawTextBox(GlobalContext* globalCtx, Gfx** p) { MessageContext* msgCtx = &globalCtx->msgCtx; Gfx* gfx = *p; + gSPInvalidateTexCache(gfx++, msgCtx->textboxSegment); gDPPipeSync(gfx++); gDPSetPrimColor(gfx++, 0, 0, msgCtx->textboxColorRed, msgCtx->textboxColorGreen, msgCtx->textboxColorBlue, msgCtx->textboxColorAlphaCurrent); |
