aboutsummaryrefslogtreecommitdiffstats
path: root/include/gltf.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'include/gltf.hpp')
-rw-r--r--include/gltf.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/gltf.hpp b/include/gltf.hpp
index 72d757c..7e7c33f 100644
--- a/include/gltf.hpp
+++ b/include/gltf.hpp
@@ -27,7 +27,7 @@ struct buffer {
class gltf {
public:
- gltf(const char* filepath);
+ gltf(const char* filepath, bool is_glb = false);
void deinit();
std::vector<u32> root_nodes;
@@ -53,7 +53,7 @@ class gltf {
u32 length;
};
std::vector<struct glb_chunk*> chunks;
- glb_header* header;
+ glb_header* header = nullptr;
// TODO: remove
bool is_glb;