fix ModelBatch overflow

This commit is contained in:
MihailRis
2024-06-20 21:54:06 +03:00
parent 3235740333
commit 57a0377b36
3 changed files with 31 additions and 38 deletions
+1 -1
View File
@@ -195,7 +195,7 @@ void WorldRenderer::renderLevel(
assets->getTexture("gui/menubg")->bind();
shader->uniformMatrix("u_model", glm::mat4(1.0f));
modelBatch->test(glm::vec3(0, 68, 0), glm::vec3(1.0f));
modelBatch->test(glm::vec3(0, 88, 0), glm::vec3(1.0f));
modelBatch->flush();
skybox->unbind();