mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2025-02-07 10:50:29 -05:00
add gSPInvalidateTexCache(); (#274)
This commit is contained in:
parent
076887e71f
commit
226dd3a828
@ -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…
Reference in New Issue
Block a user