Merge pull request #99 from zus-dev/qsrebase

Read the texture coords properly while loading MD3 model
This commit is contained in:
Shpoike 2022-04-25 22:52:08 +01:00 committed by GitHub
commit 987d8807b5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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);