From c9b4d07602c220fb23e49c6493b1d955eebd90ea Mon Sep 17 00:00:00 2001 From: Zack Middleton Date: Fri, 10 Jan 2014 12:47:33 -0600 Subject: Make GL2 MDR code use R_VboPackNormal for normal --- src/renderergl2/tr_animation.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/renderergl2/tr_animation.c') diff --git a/src/renderergl2/tr_animation.c b/src/renderergl2/tr_animation.c index 77bb8611..a74ac2f5 100644 --- a/src/renderergl2/tr_animation.c +++ b/src/renderergl2/tr_animation.c @@ -412,7 +412,7 @@ void RB_MDRSurfaceAnim( mdrSurface_t *surface ) tess.xyz[baseVertex + j][1] = tempVert[1]; tess.xyz[baseVertex + j][2] = tempVert[2]; - tess.normal[baseVertex + j] = R_VboPackTangent(tempNormal); + tess.normal[baseVertex + j] = R_VboPackNormal(tempNormal); tess.texCoords[baseVertex + j][0][0] = v->texCoords[0]; tess.texCoords[baseVertex + j][0][1] = v->texCoords[1]; -- cgit