st/mesa: fix indentation
authorMorgan Armand <morgan.devel@gmail.com>
Mon, 7 Nov 2011 18:38:13 +0000 (19:38 +0100)
committerBrian Paul <brianp@vmware.com>
Mon, 7 Nov 2011 20:25:46 +0000 (13:25 -0700)
Signed-off-by: Brian Paul <brianp@vmware.com>
src/mesa/state_tracker/st_atom_texture.c
src/mesa/state_tracker/st_cb_drawpixels.c

index 3115a2511ce0b9ba23b342a3cb02ef13aa14978e..008e9bd1005cdf64502ce204205cfc85e3660c0b 100644 (file)
@@ -267,14 +267,13 @@ update_vertex_textures(struct st_context *st)
          GLboolean retval;
          GLuint texUnit;
 
-        texUnit = vprog->Base.SamplerUnits[su];
+         texUnit = vprog->Base.SamplerUnits[su];
 
-        retval = update_single_texture(st, &sampler_view, texUnit);
-        if (retval == GL_FALSE)
-           continue;
-
-        st->state.num_vertex_textures = su + 1;
+         retval = update_single_texture(st, &sampler_view, texUnit);
+         if (retval == GL_FALSE)
+            continue;
 
+         st->state.num_vertex_textures = su + 1;
       }
       pipe_sampler_view_reference(&st->state.sampler_vertex_views[su], sampler_view);
    }
index 1c44d0d87bb856131c8e36cffb3a866f63c6d824..8c49f8d187ac3c97d2369202651d45ee94de6aa7 100644 (file)
@@ -1135,10 +1135,10 @@ st_DrawPixels(struct gl_context *ctx, GLint x, GLint y,
                   assert(0);
                }
 
-              sv[1] = st_create_texture_sampler_view_format(st->pipe, pt,
+               sv[1] = st_create_texture_sampler_view_format(st->pipe, pt,
                                                              stencil_format);
-              num_sampler_view++;
-           }
+               num_sampler_view++;
+            }
 
             draw_textured_quad(ctx, x, y, ctx->Current.RasterPos[2],
                                width, height,