mesa: glGet: fix indentation of find_value
authorImre Deak <imre.deak@intel.com>
Mon, 10 Sep 2012 06:41:38 +0000 (09:41 +0300)
committerOliver McFadden <oliver.mcfadden@linux.intel.com>
Wed, 10 Oct 2012 09:40:46 +0000 (12:40 +0300)
No functional change.

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

index 8b95f0c..6a66c08 100644 (file)
@@ -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;
    }