From 719344b23ed7b1947af1db9281389f3fc74c3fc5 Mon Sep 17 00:00:00 2001 From: Keith Whitwell Date: Wed, 27 Dec 2000 19:57:37 +0000 Subject: Fixes for compiling assembly (disable unused 'masked' versions) Fixes for compiling without debug. Fix line clipping Fix unfilled polygon clipping (should be correct now). --- src/mesa/tnl/t_vb_normals.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (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 97e7b9bb35..e55520cb5c 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.1 2000/12/26 05:09:33 keithw Exp $ */ +/* $Id: t_vb_normals.c,v 1.2 2000/12/27 19:57:37 keithw Exp $ */ /* * Mesa 3-D graphics library @@ -64,6 +64,7 @@ static GLboolean run_normal_stage( GLcontext *ctx, if (VB->NormalLengthPtr) { GLfloat diff = VB->NormalLengthPtr[0] - 1.0/LEN_3FV(VB->NormalPtr->data[0]); + (void)diff; ASSERT((diff*diff) < .01); } -- cgit v1.2.3