mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 11:38:05 +02:00
mesa: glGet: fix indentation of find_value
No functional change. Signed-off-by: Imre Deak <imre.deak@intel.com> Signed-off-by: Brian Paul <brianp@vmware.com>
This commit is contained in:
parent
746e82fff4
commit
97a693d1fa
1 changed files with 4 additions and 4 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue