From 7db1b126b84a4c1e0b82a121d82940e7169bb2ef Mon Sep 17 00:00:00 2001 From: Nyall Dawson Date: Thu, 7 Sep 2023 08:20:28 +1000 Subject: [PATCH] Fix build with draco --- tiny_gltf.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tiny_gltf.h b/tiny_gltf.h index b68890b..f2d49e0 100644 --- a/tiny_gltf.h +++ b/tiny_gltf.h @@ -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