mirror of
https://github.com/coop-deluxe/sm64coopdx.git
synced 2026-04-25 19:42:20 +00:00
Fix djui menu flashing (#1008)
Move djui_reset_hud_params() to after the djui display list save point Resetting scissor/viewport before the save point caused the djui menu to rapidly flicker when interpolating (and an interpolated HUD texture was rendered) Thanks to PeachyPeach for finding the better fix Co-authored-by: MysterD <myster@d>
This commit is contained in:
parent
c87ae6a263
commit
2a95817d84
1 changed files with 1 additions and 1 deletions
|
|
@ -176,10 +176,10 @@ void djui_reset_hud_params(void) {
|
|||
|
||||
void djui_render(void) {
|
||||
if (!sDjuiInited || gDjuiDisabled) { return; }
|
||||
djui_reset_hud_params();
|
||||
|
||||
sSavedDisplayListHead = gDisplayListHead;
|
||||
gDjuiHudUtilsZ = 0;
|
||||
djui_reset_hud_params();
|
||||
|
||||
create_dl_ortho_matrix();
|
||||
djui_gfx_displaylist_begin();
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue