r300: fix indentation
authorMaciej Cencora <m.cencora@gmail.com>
Sat, 11 Jul 2009 14:16:11 +0000 (16:16 +0200)
committerMaciej Cencora <m.cencora@gmail.com>
Mon, 13 Jul 2009 17:28:13 +0000 (19:28 +0200)
Reported-by: Nicolai Hähnle <nhaehnle@gmail.com>
src/mesa/drivers/dri/r300/r300_fragprog_common.c

index d5ef18b2ad8bfaf5c9e675c43373d89f0d70cafb..c7914649dd51461436281c3954d972d7b4c61960 100644 (file)
@@ -368,10 +368,10 @@ struct r300_fragment_program *r300SelectFragmentShader(GLcontext *ctx)
 
        fp = fp_list->progs;
        while (fp) {
-              if (_mesa_memcmp(&fp->state, &state, sizeof(state)) == 0) {
-                      return r300->selected_fp = fp;
-              }
-              fp = fp->next;
+               if (_mesa_memcmp(&fp->state, &state, sizeof(state)) == 0) {
+                       return r300->selected_fp = fp;
+               }
+               fp = fp->next;
        }
 
        fp = _mesa_calloc(sizeof(struct r300_fragment_program));