OpenGL2: Don't interleave texCoords and lightCoords in tess.

This commit is contained in:
SmileTheory 2016-11-25 01:17:46 -08:00
parent 1c1e1f61f1
commit 2349ef038e
9 changed files with 74 additions and 84 deletions

View file

@ -414,8 +414,8 @@ void RB_MDRSurfaceAnim( mdrSurface_t *surface )
R_VaoPackNormal(tess.normal[baseVertex + j], tempNormal);
tess.texCoords[baseVertex + j][0][0] = v->texCoords[0];
tess.texCoords[baseVertex + j][0][1] = v->texCoords[1];
tess.texCoords[baseVertex + j][0] = v->texCoords[0];
tess.texCoords[baseVertex + j][1] = v->texCoords[1];
v = (mdrVertex_t *)&v->weights[v->numWeights];
}