mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-10 15:22:04 +00:00
Fix 16-bit mdl loading for glsl.
The extra precision verts are offset by numverts, not numposes :P
This commit is contained in:
parent
971e689d3d
commit
31dead3dcd
1 changed files with 1 additions and 1 deletions
|
@ -184,7 +184,7 @@ glsl_Mod_MakeAliasModelDisplayLists (model_t *m, aliashdr_t *hdr, void *_m,
|
|||
for (j = 0; j < hdr->mdl.numverts; j++) {
|
||||
pv = &poseverts[i][j];
|
||||
if (extra) {
|
||||
VectorMultAdd (pv[hdr->numposes].v, 256, pv->v,
|
||||
VectorMultAdd (pv[hdr->mdl.numverts].v, 256, pv->v,
|
||||
verts[pose + j].vertex);
|
||||
} else {
|
||||
VectorCopy (pv->v, verts[pose + j].vertex);
|
||||
|
|
Loading…
Reference in a new issue