mirror of
https://github.com/ZDoom/raze-gles.git
synced 2025-02-04 12:50:57 +00:00
- fixed model rendering.
(What a stupid mistake... :?) Model animations still do not work as intended, though.
This commit is contained in:
parent
b0bf51ec5c
commit
9a507e5d0a
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||||
|
|
Loading…
Reference in a new issue