summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/entities.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/entities.cpp b/src/entities.cpp
index 8fa5127..7263bbd 100644
--- a/src/entities.cpp
+++ b/src/entities.cpp
@@ -717,6 +717,8 @@ void EntityType_Load(EntityType &et) {
// 2023-09-27 - JCB
// I don't know where else to put this
grBinds.instanceFirstBinding = index;
+ // no index += 1 because index just happens to be the right value here for
+ // the binding index, whereas binding the IndexBuffer doesn't need a binding index.
// index
assert(et.Importer_GLTF.AccessorIndexIndex > -1);