- fixed model rendering.

(What a stupid mistake... :?)

Model animations still do not work as intended, though.
This commit is contained in:
Christoph Oelckers 2020-12-01 22:03:20 +01:00
parent b0bf51ec5c
commit 9a507e5d0a

View file

@ -1238,7 +1238,7 @@ static void md3draw_handle_triangles(const md3surf_t *s, uint16_t *indexhandle,
vt->SetTexCoord(s->uv[k].u, s->uv[k].v); vt->SetTexCoord(s->uv[k].u, s->uv[k].v);
vt->SetVertex(vertlist[k].x, vertlist[k].y); vt->SetVertex(vertlist[k].x, vertlist[k].y, vertlist[k].z);
} }
} }
GLInterface.Draw(DT_Triangles, data.second, s->numtris *3); GLInterface.Draw(DT_Triangles, data.second, s->numtris *3);