Skip to content

Commit 440f12c

Browse files
committed
vcacheoptimizer: Adjust comment to make aliasing more apparent
1 parent 2c24381 commit 440f12c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/vcacheoptimizer.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ void meshopt_optimizeVertexCacheTable(unsigned int* destination, const unsigned
195195
TriangleAdjacency adjacency = {};
196196
buildTriangleAdjacency(adjacency, indices, index_count, vertex_count, allocator);
197197

198-
// live triangle counts
198+
// live triangle counts; note, we alias adjacency.counts as we remove triangles after emitting them so the counts always match
199199
unsigned int* live_triangles = adjacency.counts;
200200

201201
// emitted flags

0 commit comments

Comments
 (0)