From 47a28c0b4d4ca27592e3cbb8e4b17d1cd8f7997d Mon Sep 17 00:00:00 2001 From: Keith Whitwell Date: Thu, 28 Jun 2001 17:34:14 +0000 Subject: restore normal length optimization in dlists --- src/mesa/tnl/t_vb_normals.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/mesa/tnl/t_vb_normals.c') diff --git a/src/mesa/tnl/t_vb_normals.c b/src/mesa/tnl/t_vb_normals.c index ce3f0b7b26..1a71b13be3 100644 --- a/src/mesa/tnl/t_vb_normals.c +++ b/src/mesa/tnl/t_vb_normals.c @@ -1,4 +1,4 @@ -/* $Id: t_vb_normals.c,v 1.8 2001/03/30 14:44:44 gareth Exp $ */ +/* $Id: t_vb_normals.c,v 1.9 2001/06/28 17:34:14 keithw Exp $ */ /* * Mesa 3-D graphics library @@ -65,10 +65,11 @@ static GLboolean run_normal_stage( GLcontext *ctx, store->NormalTransform( &ctx->ModelView, ctx->_ModelViewInvScale, VB->NormalPtr, - 0, + VB->NormalLengthPtr, &store->normal ); VB->NormalPtr = &store->normal; + VB->NormalLengthPtr = 0; /* no longer valid */ return GL_TRUE; } -- cgit v1.2.3