Merge pull request #75 from Cooliokid956/dev

fixed two interp functions not saving their resolution
This commit is contained in:
Agent X 2024-02-25 08:46:46 -05:00 committed by GitHub
commit d9977de3c9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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) {