This commit is contained in:
2022-06-29 03:13:39 +00:00
parent a350083bec
commit b49c2b36c9
5 changed files with 7 additions and 9 deletions

View File

@@ -59,7 +59,7 @@ void draw_model(struct mModel *model, struct mShader *shader)
{
if (lastRendered != model) {
lastRendered = model;
for (uint32_t i = 0; i < (model->mp - model->meshes); i++)
for (int i = 0; i < (model->mp - model->meshes); i++)
DrawMesh(&model->meshes[i], shader);
} else {
for (uint32_t i = 0; i < (model->mp - model->meshes); i++)