summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/get.c
diff options
context:
space:
mode:
authorImre Deak <[email protected]>2012-09-10 09:41:38 +0300
committerBrian Paul <[email protected]>2012-09-11 17:38:21 -0600
commit97a693d1fa8b5ad85309cf5576be08a5a77f11ff (patch)
tree87c4a5e3405534c68fa835f05baabb6c266365fb /src/mesa/main/get.c
parent746e82fff4c4d6ccd9535a84266be59fb40d069a (diff)
mesa: glGet: fix indentation of find_value
No functional change. Signed-off-by: Imre Deak <[email protected]> Signed-off-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/mesa/main/get.c')
-rw-r--r--src/mesa/main/get.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mesa/main/get.c b/src/mesa/main/get.c
index 57457efdc28..bb0b6199ba0 100644
--- a/src/mesa/main/get.c
+++ b/src/mesa/main/get.c
@@ -1992,13 +1992,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;
}