fix ModelBatch overflow
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user