Skip to content

Commit

Permalink
Call CGLTF_PTRFIXUP on webp_image.
Browse files Browse the repository at this point in the history
  • Loading branch information
bobbens committed Jun 21, 2024
1 parent 9c131d8 commit ed28704
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cgltf.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

Expand Down

0 comments on commit ed28704

Please sign in to comment.