mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 11:28:05 +02:00
mesa: glGet: fix indentation of _mesa_init_get_hash
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:
parent
8e73273cb9
commit
0f5d87c3dd
1 changed files with 9 additions and 9 deletions
|
|
@ -1444,20 +1444,20 @@ void _mesa_init_get_hash(struct gl_context *ctx)
|
|||
|
||||
for (i = 0; i < Elements(values); i++) {
|
||||
if (values[i].type == TYPE_API_MASK) {
|
||||
api_mask = values[i].offset;
|
||||
continue;
|
||||
api_mask = values[i].offset;
|
||||
continue;
|
||||
}
|
||||
if (!(api_mask & api_bit))
|
||||
continue;
|
||||
continue;
|
||||
|
||||
hash = (values[i].pname * prime_factor) & mask;
|
||||
while (1) {
|
||||
index = hash & mask;
|
||||
if (!table[index]) {
|
||||
table[index] = i;
|
||||
break;
|
||||
}
|
||||
hash += prime_step;
|
||||
index = hash & mask;
|
||||
if (!table[index]) {
|
||||
table[index] = i;
|
||||
break;
|
||||
}
|
||||
hash += prime_step;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue