summaryrefslogtreecommitdiff
path: root/src/renderergl2/tr_animation.c
diff options
context:
space:
mode:
authorZack Middleton <zturtleman@gmail.com>2014-01-10 12:47:33 -0600
committerTim Angus <tim@ngus.net>2014-06-17 17:43:38 +0100
commitc9b4d07602c220fb23e49c6493b1d955eebd90ea (patch)
tree2c161ccee75b7ba17356e66f6d8469a18779493a /src/renderergl2/tr_animation.c
parent39dd9ae340afb63eae708a3b2def0a6d541b2365 (diff)
Make GL2 MDR code use R_VboPackNormal for normal
Diffstat (limited to 'src/renderergl2/tr_animation.c')
-rw-r--r--src/renderergl2/tr_animation.c2
1 files changed, 1 insertions, 1 deletions
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];