[Mesa-dev] [PATCH 1/3] mesa: glGet: fix indentation of _mesa_init_get_hash
Imre Deak
imre.deak at intel.com
Thu Aug 23 07:55:20 PDT 2012
No functional change.
Signed-off-by: Imre Deak <imre.deak at intel.com>
---
src/mesa/main/get.c | 18 +++++++++---------
1 file changed, 9 insertions(+), 9 deletions(-)
diff --git a/src/mesa/main/get.c b/src/mesa/main/get.c
index 332dfaf..8d0195f 100644
--- a/src/mesa/main/get.c
+++ b/src/mesa/main/get.c
@@ -1440,20 +1440,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;
}
}
--
1.7.9.5
More information about the mesa-dev
mailing list