fix(SpeedoMeter): squished drawing on mobile phone (#2601)

This commit is contained in:
gir489 2023-12-18 17:38:08 -05:00 committed by GitHub
parent 0ea3b95c4b
commit 4e83f3f25f

View File

@ -20,6 +20,10 @@ namespace big
return;
}
HUD::SET_TEXT_RENDER_ID(HUD::GET_DEFAULT_SCRIPT_RENDERTARGET_RENDER_ID());
GRAPHICS::SET_SCRIPT_GFX_DRAW_BEHIND_PAUSEMENU(TRUE);
GRAPHICS::SET_SCRIPT_GFX_DRAW_ORDER(0);
HUD::SET_TEXT_FONT(2);
HUD::SET_TEXT_SCALE(.9f, .9f);
HUD::SET_TEXT_OUTLINE();
@ -59,7 +63,7 @@ namespace big
1);
}
GRAPHICS::SET_SCRIPT_GFX_DRAW_ORDER(1);
GRAPHICS::RESET_SCRIPT_GFX_ALIGN();
}
};