OpenGL2: Clean up texmod calculations, and improve vertex animation handling.

This commit is contained in:
SmileTheory committed 2013-10-14 01:55:54 -07:00
1 parent f8355ba2fb
commit 08fcecc829
7 files changed
+92 -604

No files matched your search

+2 -1
View File
@@ -1621,11 +1621,12 @@ void RB_SurfaceVBOMDVMesh(srfVBOMDVMesh_t * surface)
glState.vertexAttribsOldFrame = refEnt->oldframe;
glState.vertexAttribsNewFrame = refEnt->frame;
glState.vertexAnimation = qtrue;
RB_EndSurface();
// So we don't lerp surfaces that shouldn't be lerped
glState.vertexAttribsInterpolation = 0;
glState.vertexAnimation = qfalse;
}
static void RB_SurfaceDisplayList( srfDisplayList_t *surf ) {