mesa: glGet: fix indentation of _mesa_init_get_hash
authorImre Deak <imre.deak@intel.com>
Mon, 10 Sep 2012 06:41:37 +0000 (09:41 +0300)
committerBrian Paul <brianp@vmware.com>
Tue, 11 Sep 2012 23:38:21 +0000 (17:38 -0600)
No functional change.

Signed-off-by: Imre Deak <imre.deak@intel.com>
Signed-off-by: Brian Paul <brianp@vmware.com>
src/mesa/main/get.c

index 24d2a18fef3e1ca29df4b5a13fbda98ec15b33b0..57457efdc281e3f0f728ffd8c0b054947a12120c 100644 (file)
@@ -1442,20 +1442,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;
       }
    }