Skip to content

Commit

Permalink
refactor(world): minor
Browse files Browse the repository at this point in the history
  • Loading branch information
ms0g committed Aug 10, 2024
1 parent bb9622d commit 6e4c2f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/world/mesh/cellMesh.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ void CellMesh::render() {
}
// draw mesh
glBindVertexArray(mVAO);
glDrawArraysInstanced(GL_TRIANGLES, 0, 36, mModelMatrices.size());
glDrawArraysInstanced(GL_TRIANGLES, 0, 36, (int)mModelMatrices.size());
glBindVertexArray(0);

// always good practice to set everything back to defaults once configured.
Expand Down

0 comments on commit 6e4c2f1

Please sign in to comment.