From 212436726fc5e3cc5425e8c0de1b363ccae46ee4 Mon Sep 17 00:00:00 2001 From: KiritoDv Date: Mon, 28 Jul 2025 21:55:46 -0600 Subject: [PATCH] Patched hud textures to draw on point mode --- src/render_objects.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/render_objects.c b/src/render_objects.c index 11704228a..768b0b73f 100644 --- a/src/render_objects.c +++ b/src/render_objects.c @@ -2023,10 +2023,12 @@ void draw_hud_2d_texture(s32 x, s32 y, u32 width, u32 height, u8* texture) { void draw_hud_2d_texture_wide(s32 x, s32 y, u32 width, u32 height, u8* texture) { gSPDisplayList(gDisplayListHead++, D_0D008108); gSPDisplayList(gDisplayListHead++, D_0D007EF8); + gDPSetTextureFilter(gDisplayListHead++, G_TF_POINT); gDPSetAlphaCompare(gDisplayListHead++, G_AC_THRESHOLD); load_texture_block_rgba16_mirror(texture, width, height); func_8004B97C_wide(x - (width >> 1), y - (height >> 1), width, height, 0); gSPDisplayList(gDisplayListHead++, D_0D007EB8); + gDPSetTextureFilter(gDisplayListHead++, G_TF_BILERP); } void func_8004C450(s32 arg0, s32 arg1, u32 arg2, u32 arg3, u8* texture) {