gl_hud: Completely abandon CANVAS_USEPRINT

This commit is contained in:
Steam Deck User 2023-01-03 18:39:55 -05:00
parent 628ef7e7af
commit 5d48af83f5

View file

@ -1289,7 +1289,6 @@ void HUD_Draw (void) {
if (key_dest == key_menu_pause || paused_hack == true) { if (key_dest == key_menu_pause || paused_hack == true) {
return; return;
} }
GL_SetCanvas(CANVAS_USEPRINT);
if (waypoint_mode.value) { if (waypoint_mode.value) {
#ifndef VITA #ifndef VITA
@ -1309,14 +1308,12 @@ void HUD_Draw (void) {
Draw_ColoredStringScale(530, 109, "SWITCH to Move Waypoint", 1, 1, 1, 1, 2.0f); Draw_ColoredStringScale(530, 109, "SWITCH to Move Waypoint", 1, 1, 1, 1, 2.0f);
Draw_ColoredStringScale(530, 129, "RELOAD to Evolve Waypoint", 1, 1, 1, 1, 2.0f); Draw_ColoredStringScale(530, 129, "RELOAD to Evolve Waypoint", 1, 1, 1, 1, 2.0f);
#endif #endif
GL_SetCanvas (CANVAS_DEFAULT);
return; return;
} }
if (cl.stats[STAT_HEALTH] <= 0) if (cl.stats[STAT_HEALTH] <= 0)
{ {
HUD_EndScreen (); HUD_EndScreen ();
GL_SetCanvas(CANVAS_DEFAULT);
return; return;
} }
@ -1337,6 +1334,4 @@ void HUD_Draw (void) {
/* /*
HUD_Achievement(); HUD_Achievement();
*/ */
GL_SetCanvas(CANVAS_DEFAULT);
} }