From ed28704fc219c620eab3fa7a3184ba5e2b5f8fd7 Mon Sep 17 00:00:00 2001 From: Edgar Simo-Serra Date: Fri, 21 Jun 2024 22:22:01 +0900 Subject: [PATCH] Call CGLTF_PTRFIXUP on webp_image. --- cgltf.h | 1 + 1 file changed, 1 insertion(+) diff --git a/cgltf.h b/cgltf.h index 1d6c648..02e47e2 100644 --- a/cgltf.h +++ b/cgltf.h @@ -6578,6 +6578,7 @@ static int cgltf_fixup_pointers(cgltf_data* data) { CGLTF_PTRFIXUP(data->textures[i].image, data->images, data->images_count); CGLTF_PTRFIXUP(data->textures[i].basisu_image, data->images, data->images_count); + CGLTF_PTRFIXUP(data->textures[i].webp_image, data->images, data->images_count); CGLTF_PTRFIXUP(data->textures[i].sampler, data->samplers, data->samplers_count); }