From b04ba7fcfd6a0fda3cfeb286b5187cdeb8050c4e Mon Sep 17 00:00:00 2001 From: Robert Beckebans Date: Mon, 5 Sep 2022 22:07:19 +0200 Subject: [PATCH] Fixed GCC compile error caused by the glTF2 code --- neo/idlib/gltfProperties.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/neo/idlib/gltfProperties.h b/neo/idlib/gltfProperties.h index 42fd6b3a..f298afa1 100644 --- a/neo/idlib/gltfProperties.h +++ b/neo/idlib/gltfProperties.h @@ -695,7 +695,6 @@ public: idStr extensions; gltfExtra extras; }; -typedef gltfExt_KHR_lights_punctual_spot spot; //KHR_lights_punctual //https://github.com/KhronosGroup/glTF/blob/main/extensions/2.0/Khronos/KHR_lights_punctual/schema/light.schema.json @@ -705,7 +704,7 @@ public: gltfExt_KHR_lights_punctual() : color( vec3_one ), intensity( 1.0f ), range( -1.0f ), intType( -1 ) { } idVec3 color; float intensity; - spot spot; + gltfExt_KHR_lights_punctual_spot spot; idStr type; //directional=0,point=1,spot=2 float range; idStr name;