On 09/10/2012 12:41 AM, Imre Deak wrote:
No functional change.
Signed-off-by: Imre Deak<imre.d...@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 24d2a18..57457ef 100644
--- a/src/mesa/main/get.c
+++ b/src/mesa/main/get.c
@@ -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;
}
}
Reviewed-by: Brian Paul <bri...@vmware.com>
Do you need someone to commit these patches for you?
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev