This commit is contained in:
Dante
2026-05-21 23:40:20 -07:00
parent 3e2915dff7
commit 877a69d844
5737 changed files with 29796 additions and 1589684 deletions

View File

@ -413,7 +413,7 @@ class ColoredShaderPainter {
triangleIndexBuffer = new IndexBuffer(triangleBufferSize * 3, Usage.StaticUsage);
var triIndices = triangleIndexBuffer.lock();
for (i in 0...bufferSize) {
for (i in 0...triangleBufferSize) {
triIndices[i * 3 + 0] = i * 3 + 0;
triIndices[i * 3 + 1] = i * 3 + 1;
triIndices[i * 3 + 2] = i * 3 + 2;