mesa: glGet: fix indentation of print_table_stats

No functional change.

Signed-off-by: Imre Deak <imre.deak@intel.com>
Signed-off-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Oliver McFadden <oliver.mcfadden@linux.intel.com>
This commit is contained in:
Imre Deak 2012-09-10 09:41:39 +03:00 committed by Oliver McFadden
parent 0c3c77ba17
commit dee121b885

View file

@ -1400,29 +1400,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