Skip to content

Commit

Permalink
Fix iterations on buffer uploadFloats
Browse files Browse the repository at this point in the history
  • Loading branch information
clementlandrin committed Dec 11, 2024
1 parent 9e98226 commit 2fb634f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion h3d/Buffer.hx
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,8 @@ class Buffer {
var index : Int = bufPos;

var inputs = format.getInputs();
for ( i in 0...vertices ) {
for ( _ in 0...vertices ) {
@:privateAccess inputs.current = 0;
for ( input in inputs ) {
var elementCount = input.type.getSize();
var step = 0;
Expand Down

0 comments on commit 2fb634f

Please sign in to comment.