From 3c73d12bb4890cbafafae25fc735e5e58e901687 Mon Sep 17 00:00:00 2001 From: Cooliokid956 <68075390+Cooliokid956@users.noreply.github.com> Date: Sat, 24 Feb 2024 21:35:04 -0600 Subject: [PATCH] fixed two interp functions not saving their resolution --- src/pc/djui/djui_hud_utils.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/pc/djui/djui_hud_utils.c b/src/pc/djui/djui_hud_utils.c index 5085088d..68dd8db8 100644 --- a/src/pc/djui/djui_hud_utils.c +++ b/src/pc/djui/djui_hud_utils.c @@ -517,6 +517,7 @@ void djui_hud_render_texture_tile_interpolated(struct TextureInfo* texInfo, f32 interp->width = texInfo->width; interp->height = texInfo->height; interp->z = savedZ; + interp->resolution = sResolution; } void djui_hud_render_rect(f32 x, f32 y, f32 width, f32 height) { @@ -571,6 +572,7 @@ void djui_hud_render_rect_interpolated(f32 prevX, f32 prevY, f32 prevWidth, f32 interp->width = 1; interp->height = 1; interp->z = savedZ; + interp->resolution = sResolution; } static void hud_rotate_and_translate_vec3f(Vec3f vec, Mat4* mtx, Vec3f out) {