summaryrefslogtreecommitdiffstats
path: root/src/mesa/state_tracker
diff options
context:
space:
mode:
authorBrian <[email protected]>2008-03-20 15:02:10 -0600
committerBrian <[email protected]>2008-03-20 15:04:08 -0600
commitf3d23aa787bb08bad7638540b128fa0e65110246 (patch)
treebd144326d2ffcd15b201e439212854553713fd28 /src/mesa/state_tracker
parent80567f9c9f84d9df1cdb2d91a3c0814888cc5d08 (diff)
gallium: unused var silence warning
Diffstat (limited to 'src/mesa/state_tracker')
-rw-r--r--src/mesa/state_tracker/st_debug.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mesa/state_tracker/st_debug.c b/src/mesa/state_tracker/st_debug.c
index 8b9b91aa348..23ecfff0aa4 100644
--- a/src/mesa/state_tracker/st_debug.c
+++ b/src/mesa/state_tracker/st_debug.c
@@ -50,9 +50,10 @@ st_print_current(void)
{
GET_CURRENT_CONTEXT(ctx);
struct st_context *st = ctx->st;
- int i;
#if 0
+ int i;
+
printf("Vertex Transform Inputs:\n");
for (i = 0; i < st->vp->state.num_inputs; i++) {
printf(" Slot %d: VERT_ATTRIB_%d\n", i, st->vp->index_to_input[i]);