diff --git a/gx/gx_video.c b/gx/gx_video.c index 9fa82d80eb..3def68d478 100644 --- a/gx/gx_video.c +++ b/gx/gx_video.c @@ -321,9 +321,9 @@ static void init_texture(unsigned width, unsigned height) unsigned g_filter = g_settings.video.smooth ? GX_LINEAR : GX_NEAR; GX_InitTexObj(&g_tex.obj, g_tex.data, width, height, (gx->rgb32) ? GX_TF_RGBA8 : gx->rgui_texture_enable ? GX_TF_RGB5A3 : GX_TF_RGB565, GX_CLAMP, GX_CLAMP, GX_FALSE); - GX_InitTexObjLOD(&g_tex.obj, g_filter, g_filter, 0, 0, 0, GX_TRUE, GX_FALSE, GX_ANISO_1); + GX_InitTexObjFilterMode(&g_tex.obj, g_filter, g_filter); GX_InitTexObj(&menu_tex.obj, menu_tex.data, RGUI_WIDTH, RGUI_HEIGHT, GX_TF_RGB5A3, GX_CLAMP, GX_CLAMP, GX_FALSE); - GX_InitTexObjLOD(&menu_tex.obj, g_filter, g_filter, 0, 0, 0, GX_TRUE, GX_FALSE, GX_ANISO_1); + GX_InitTexObjFilterMode(&menu_tex.obj, g_filter, g_filter); GX_InvalidateTexAll(); }