aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorladevieq <ladevie.quentin@gmail.com>2026-05-14 23:30:06 +0200
committerladevieq <ladevie.quentin@gmail.com>2026-05-14 23:33:31 +0200
commit8f137322da4220aeb3863ff79724644e7e5152a0 (patch)
treecceba996b5c78b35190592ba72e5c2643544e57e /include
parentf745ba47651664048a4641676453d06f2319c3d1 (diff)
Remove usage of PathFindExtensionA and shlwapi include
Fix input bug due to a switch to main fiber in message handler
Diffstat (limited to 'include')
-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;