summaryrefslogtreecommitdiff
path: root/modules/gltf/structures/gltf_accessor.h
diff options
context:
space:
mode:
Diffstat (limited to 'modules/gltf/structures/gltf_accessor.h')
-rw-r--r--modules/gltf/structures/gltf_accessor.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/gltf/structures/gltf_accessor.h b/modules/gltf/structures/gltf_accessor.h
index 5b4afc79c4..1a5a910048 100644
--- a/modules/gltf/structures/gltf_accessor.h
+++ b/modules/gltf/structures/gltf_accessor.h
@@ -39,7 +39,7 @@ struct GLTFAccessor : public Resource {
friend class GLTFDocument;
private:
- GLTFBufferViewIndex buffer_view = 0;
+ GLTFBufferViewIndex buffer_view = -1;
int byte_offset = 0;
int component_type = 0;
bool normalized = false;