aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa
diff options
context:
space:
mode:
authorImre Deak <[email protected]>2012-09-10 09:41:39 +0300
committerBrian Paul <[email protected]>2012-09-11 17:38:21 -0600
commitae310e37fb1242bf760172fe6b6506e5063ae346 (patch)
tree0ada86227ffcc9fa9655c7c328e805858e4a5966 /src/mesa
parent97a693d1fa8b5ad85309cf5576be08a5a77f11ff (diff)
mesa: glGet: fix indentation of print_table_stats
No functional change. Signed-off-by: Imre Deak <[email protected]> Signed-off-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/main/get.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/mesa/main/get.c b/src/mesa/main/get.c
index bb0b6199ba0..ce5af04bbff 100644
--- a/src/mesa/main/get.c
+++ b/src/mesa/main/get.c
@@ -1398,29 +1398,29 @@ print_table_stats(void)
for (i = 0; i < Elements(table); i++) {
if (!table[i])
- continue;
+ continue;
count++;
d = &values[table[i]];
hash = (d->pname * prime_factor);
j = 0;
while (1) {
- if (values[table[hash & mask]].pname == d->pname)
- break;
- hash += prime_step;
- j++;
+ if (values[table[hash & mask]].pname == d->pname)
+ break;
+ hash += prime_step;
+ j++;
}
if (j < 10)
- collisions[j]++;
+ collisions[j]++;
else
- collisions[10]++;
+ collisions[10]++;
}
printf("number of enums: %d (total %d)\n", count, Elements(values));
for (i = 0; i < Elements(collisions) - 1; i++)
if (collisions[i] > 0)
- printf(" %d enums with %d %scollisions\n",
- collisions[i], i, i == 10 ? "or more " : "");
+ printf(" %d enums with %d %scollisions\n",
+ collisions[i], i, i == 10 ? "or more " : "");
}
#endif