summaryrefslogtreecommitdiff
path: root/src/entities.cpp
diff options
context:
space:
mode:
authorJonathan Bradley <jcb@pikum.xyz>2023-09-29 07:45:35 -0400
committerJonathan Bradley <jcb@pikum.xyz>2023-09-29 07:45:35 -0400
commitc7a48d389774322a7c4ae78c62815e3f6d4f4ccf (patch)
treec4af95c820e33a83736f8cf25cee26b455d8f016 /src/entities.cpp
parent43d2c5580767b1ee74cb23d64353799d03c72b49 (diff)
reminder comment
Diffstat (limited to 'src/entities.cpp')
-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);