mirror of
https://github.com/coop-deluxe/sm64coopdx.git
synced 2025-10-30 08:01:01 +00:00
Allow FONT_HUD to have texture filtering
This commit is contained in:
parent
de9c3c35b2
commit
a2de8d7957
1 changed files with 2 additions and 1 deletions
|
|
@ -1,5 +1,6 @@
|
|||
#include "djui.h"
|
||||
#include "djui_unicode.h"
|
||||
#include "djui_hud_utils.h"
|
||||
#include "game/segment2.h"
|
||||
|
||||
///////////////////////////////////
|
||||
|
|
@ -116,7 +117,7 @@ static void djui_font_hud_render_char(char* text) {
|
|||
if (c == ' ') { return; }
|
||||
c = djui_unicode_get_base_char(text);
|
||||
u8 index = djui_font_hud_index(c);
|
||||
djui_gfx_render_texture(main_hud_lut[index], 16, 16, 16, false);
|
||||
djui_gfx_render_texture(main_hud_lut[index], 16, 16, 16, djui_hud_get_filter());
|
||||
}
|
||||
|
||||
static f32 djui_font_hud_char_width(UNUSED char* text) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue