Skip to content

Commit

Permalink
fix toIntBuffer, fixes #6112 (#6320)
Browse files Browse the repository at this point in the history
  • Loading branch information
mgsx-dev committed Dec 19, 2020
1 parent f63c2af commit 56c27ad
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ private FloatBuffer toFloatBuffer (float v[], int offset, int count) {
private IntBuffer toIntBuffer (int v[], int offset, int count) {
ensureBufferCapacity(count << 2);
intBuffer.clear();
com.badlogic.gdx.utils.BufferUtils.copy(v, count, offset, intBuffer);
com.badlogic.gdx.utils.BufferUtils.copy(v, offset, count, intBuffer);
return intBuffer;
}

Expand Down

0 comments on commit 56c27ad

Please sign in to comment.