summaryrefslogtreecommitdiff
path: root/src/mesa/tnl/t_pipeline.c
diff options
context:
space:
mode:
authorKeith Whitwell <keith@tungstengraphics.com>2001-01-17 02:49:38 +0000
committerKeith Whitwell <keith@tungstengraphics.com>2001-01-17 02:49:38 +0000
commitc0bcd2ca99609fe8b6e992e2277ef8612d46fdfe (patch)
tree3aa0c90e1f864323e35e51679aa5d69bf07a3c97 /src/mesa/tnl/t_pipeline.c
parent547bbcabffffad1a630c261830998c511efc2b96 (diff)
Fixes for performance bug on compiled array element paths.
Diffstat (limited to 'src/mesa/tnl/t_pipeline.c')
-rw-r--r--src/mesa/tnl/t_pipeline.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mesa/tnl/t_pipeline.c b/src/mesa/tnl/t_pipeline.c
index 11a17849b6..b2d4f15547 100644
--- a/src/mesa/tnl/t_pipeline.c
+++ b/src/mesa/tnl/t_pipeline.c
@@ -1,4 +1,4 @@
-/* $Id: t_pipeline.c,v 1.9 2001/01/14 06:14:21 keithw Exp $ */
+/* $Id: t_pipeline.c,v 1.10 2001/01/17 02:49:39 keithw Exp $ */
/*
* Mesa 3-D graphics library
@@ -138,12 +138,12 @@ void _tnl_run_pipeline( GLcontext *ctx )
}
if (stage[i].active) {
- if (stage[i].changed_inputs)
+ if (stage[i].changed_inputs)
changed_inputs |= stage[i].outputs;
if (running) {
-/* fprintf(stderr, "run %s\n", stage[i].name); */
running = stage[i].run( ctx, &stage[i] );
+ stage[i].changed_inputs = 0;
}
}
}