mirror of
https://github.com/Shpoike/Quakespasm.git
synced 2025-02-02 22:11:22 +00:00
Merge pull request #99 from zus-dev/qsrebase
Read the texture coords properly while loading MD3 model
This commit is contained in:
commit
987d8807b5
1 changed files with 2 additions and 2 deletions
|
@ -692,8 +692,8 @@ void Mod_LoadMD3Model (qmodel_t *mod, void *buffer)
|
|||
for (j = 0; j < osurf->numverts; j++)
|
||||
{
|
||||
poutst[j].vertindex = j; //how is this useful?
|
||||
poutst[j].st[0] = pinst->s;
|
||||
poutst[j].st[1] = pinst->t;
|
||||
poutst[j].st[0] = pinst[j].s;
|
||||
poutst[j].st[1] = pinst[j].t;
|
||||
}
|
||||
}
|
||||
GLMesh_LoadVertexBuffer (mod, outhdr);
|
||||
|
|
Loading…
Reference in a new issue