Skip to content

Commit

Permalink
Fix build with draco
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Sep 6, 2023
1 parent 35735bb commit 0067b4d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tiny_gltf.h
Original file line number Diff line number Diff line change
Expand Up @@ -4909,7 +4909,7 @@ static bool ParseDracoExtension(Primitive *primitive, Model *model,

// create new bufferView for indices
if (primitive->indices >= 0) {
if (strictness == ParseStrictness::PERMISSIVE) {
if (strictness == ParseStrictness::Permissive) {
const draco::PointIndex::ValueType numPoint = mesh->num_points();
// handle the situation where the stored component type does not match the
// required type for the actual number of stored points
Expand Down

0 comments on commit 0067b4d

Please sign in to comment.