From 2b2d374eb642edf345f93fa559e8cd7d76a0c9d1 Mon Sep 17 00:00:00 2001 From: ladevieq Date: Sun, 26 Jan 2025 22:14:47 +0100 Subject: Fix mesh loading for new API --- include/gltf.hpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'include/gltf.hpp') diff --git a/include/gltf.hpp b/include/gltf.hpp index 6e89509..1ccaf56 100644 --- a/include/gltf.hpp +++ b/include/gltf.hpp @@ -49,7 +49,12 @@ private: json gltf_json; std::vector meshes; std::vector materials; +#ifdef API_TEST + std::vector> textures; + // handle samplers; +#else std::vector textures; +#endif // API_TEST std::vector> buffers; }; -- cgit v1.3