mirror of
https://github.com/coop-deluxe/sm64coopdx.git
synced 2026-05-10 19:01:46 +00:00
Implement the HOOK_ON_HUD_RENDER_BEHIND fix ON THE RIGHT BRANCH
This commit is contained in:
parent
63f0067f3b
commit
f2c5b4eb13
1 changed files with 9 additions and 0 deletions
|
|
@ -510,6 +510,15 @@ void render_game(void) {
|
|||
}
|
||||
}
|
||||
} else {
|
||||
// this will get drawn over anyway so it doesn't
|
||||
// matter to try and setup the rendering
|
||||
//
|
||||
// call this so any code running will still run
|
||||
// even if nothing is shown on screen
|
||||
if (!gDjuiDisabled) {
|
||||
smlua_call_event_hooks(HOOK_ON_HUD_RENDER_BEHIND, djui_reset_hud_params);
|
||||
}
|
||||
|
||||
render_text_labels();
|
||||
if (gViewportClip != NULL) {
|
||||
clear_viewport(gViewportClip, gWarpTransFBSetColor);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue