mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2025-07-16 10:02:59 -07:00
add gSPInvalidateTexCache(); (#274)
This commit is contained in:
parent
076887e71f
commit
226dd3a828
1 changed files with 1 additions and 0 deletions
|
@ -1841,6 +1841,7 @@ void Message_DrawTextBox(GlobalContext* globalCtx, Gfx** p) {
|
||||||
MessageContext* msgCtx = &globalCtx->msgCtx;
|
MessageContext* msgCtx = &globalCtx->msgCtx;
|
||||||
Gfx* gfx = *p;
|
Gfx* gfx = *p;
|
||||||
|
|
||||||
|
gSPInvalidateTexCache(gfx++, msgCtx->textboxSegment);
|
||||||
gDPPipeSync(gfx++);
|
gDPPipeSync(gfx++);
|
||||||
gDPSetPrimColor(gfx++, 0, 0, msgCtx->textboxColorRed, msgCtx->textboxColorGreen, msgCtx->textboxColorBlue,
|
gDPSetPrimColor(gfx++, 0, 0, msgCtx->textboxColorRed, msgCtx->textboxColorGreen, msgCtx->textboxColorBlue,
|
||||||
msgCtx->textboxColorAlphaCurrent);
|
msgCtx->textboxColorAlphaCurrent);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue