mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-10 23:02:03 +00:00
Don't drink and copypaste, kids.
Unfucks r6379. git-svn-id: https://svn.eduke32.com/eduke32@6395 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
32ed49e5c5
commit
d1de78d8bc
1 changed files with 2 additions and 2 deletions
|
@ -1892,7 +1892,7 @@ int md3postload_polymer(md3model_t *m)
|
|||
uint32_t numverts = s->numverts;
|
||||
|
||||
trii = 0;
|
||||
while (framei < m->head.numframes)
|
||||
while (trii < s->numtris)
|
||||
{
|
||||
int32_t const * const i = s->tris[trii].i;
|
||||
uint32_t const * const u = (uint32_t const *)i;
|
||||
|
@ -1968,7 +1968,7 @@ int md3postload_polymer(md3model_t *m)
|
|||
}
|
||||
|
||||
// now that we accumulated the TBNs, average and invert them for each vertex
|
||||
int verti_end = m->head.numframes * s->numverts - 1;
|
||||
int verti_end = m->head.numframes * s->numverts;
|
||||
|
||||
verti = 0;
|
||||
while (verti < verti_end)
|
||||
|
|
Loading…
Reference in a new issue