add gSPInvalidateTexCache();

This commit is contained in:
Baoulettes 2022-05-07 08:31:06 +02:00 committed by GitHub
commit b86d1b7cef
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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);