aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/tnl/t_array_import.c
diff options
context:
space:
mode:
authorKeith Whitwell <[email protected]>2000-12-27 19:57:37 +0000
committerKeith Whitwell <[email protected]>2000-12-27 19:57:37 +0000
commit719344b23ed7b1947af1db9281389f3fc74c3fc5 (patch)
treeed49176faf01d3d616466547a8b33b11d6cec4de /src/mesa/tnl/t_array_import.c
parent770169f230a197d969f64df76cfaee1f0e27874f (diff)
Fixes for compiling assembly (disable unused 'masked' versions)
Fixes for compiling without debug. Fix line clipping Fix unfilled polygon clipping (should be correct now).
Diffstat (limited to 'src/mesa/tnl/t_array_import.c')
-rw-r--r--src/mesa/tnl/t_array_import.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/mesa/tnl/t_array_import.c b/src/mesa/tnl/t_array_import.c
index 16a669dc287..1cfed067647 100644
--- a/src/mesa/tnl/t_array_import.c
+++ b/src/mesa/tnl/t_array_import.c
@@ -1,4 +1,4 @@
-/* $Id: t_array_import.c,v 1.1 2000/12/26 05:09:32 keithw Exp $ */
+/* $Id: t_array_import.c,v 1.2 2000/12/27 19:57:37 keithw Exp $ */
/*
* Mesa 3-D graphics library
@@ -248,9 +248,10 @@ static void _tnl_upgrade_client_data( GLcontext *ctx,
{
GLuint i;
struct vertex_buffer *VB = &TNL_CONTEXT(ctx)->vb;
- struct vertex_arrays *inputs = &TNL_CONTEXT(ctx)->array_inputs;
GLboolean writeable = (flags & VEC_NOT_WRITEABLE) != 0;
GLboolean stride = (flags & VEC_BAD_STRIDE) != 0;
+ struct vertex_arrays *inputs = &TNL_CONTEXT(ctx)->array_inputs;
+ (void) inputs;
if ((required & VERT_CLIP) && VB->ClipPtr == VB->ObjPtr)
required |= VERT_OBJ;