mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-05 19:11:50 +00:00
fix ModelBatch overflow
This commit is contained in:
parent
3235740333
commit
57a0377b36
3 changed files with 31 additions and 38 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue