summaryrefslogtreecommitdiffhomepage
path: root/src/chunk-scenery.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2024-04-09 22:58:43 +0200
committerStanislaw Halik <sthalik@misaki.pl>2024-04-09 22:58:43 +0200
commit1dd2a7fb8f5482946103c153039c178a20748686 (patch)
tree1be4744c9ff3ffab65a557b6f005a4042792787f /src/chunk-scenery.cpp
parent52682e087ec2e8fe00ccc5e96979a14c1d80ce36 (diff)
update comment
Diffstat (limited to 'src/chunk-scenery.cpp')
-rw-r--r--src/chunk-scenery.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/chunk-scenery.cpp b/src/chunk-scenery.cpp
index 2f019076..05450cea 100644
--- a/src/chunk-scenery.cpp
+++ b/src/chunk-scenery.cpp
@@ -189,7 +189,7 @@ auto chunk::ensure_scenery_mesh(scenery_scratch_buffers buffers) noexcept -> sce
auto index = e->is_dynamic() ? (uint32_t)-1 : j++;
array[i++] = { e.get(), (uint32_t)-1, e->ordinal(), make_topo_sort_data(*e, index) };
}
- topological_sort(array, i); // todo! do this before upload
+ topological_sort(array, i); // todo! do this before upload so that multi-draw works
return { scenery_mesh, ArrayView<object_draw_order>{array, size}, j };
}