Mesa (9.0): mesa: glGet: fix indentation of find_value
Oliver McFadden
omcfadde at kemper.freedesktop.org
Wed Oct 10 09:44:59 UTC 2012
Module: Mesa
Branch: 9.0
Commit: 0c3c77ba17811ed9b89e252369b524c50979c7db
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=0c3c77ba17811ed9b89e252369b524c50979c7db
Author: Imre Deak <imre.deak at intel.com>
Date: Mon Sep 10 09:41:38 2012 +0300
mesa: glGet: fix indentation of find_value
No functional change.
Signed-off-by: Imre Deak <imre.deak at intel.com>
Signed-off-by: Brian Paul <brianp at vmware.com>
Reviewed-by: Oliver McFadden <oliver.mcfadden at linux.intel.com>
---
src/mesa/main/get.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/mesa/main/get.c b/src/mesa/main/get.c
index 8b95f0c..6a66c08 100644
--- a/src/mesa/main/get.c
+++ b/src/mesa/main/get.c
@@ -1994,13 +1994,13 @@ find_value(const char *func, GLenum pname, void **p, union value *v)
/* If the enum isn't valid, the hash walk ends with index 0,
* which is the API mask entry at the beginning of values[]. */
if (unlikely(d->type == TYPE_API_MASK)) {
- _mesa_error(ctx, GL_INVALID_ENUM, "%s(pname=%s)", func,
- _mesa_lookup_enum_by_nr(pname));
- return &error_value;
+ _mesa_error(ctx, GL_INVALID_ENUM, "%s(pname=%s)", func,
+ _mesa_lookup_enum_by_nr(pname));
+ return &error_value;
}
if (likely(d->pname == pname))
- break;
+ break;
hash += prime_step;
}
More information about the mesa-commit
mailing list