st/mesa: fix indentation

Signed-off-by: Brian Paul <brianp@vmware.com>
This commit is contained in:
Morgan Armand
2011-11-07 19:38:13 +01:00
committed by Brian Paul
parent 89d6044b7b
commit 33ca21fc3c
2 changed files with 8 additions and 9 deletions

View File

@@ -267,14 +267,13 @@ update_vertex_textures(struct st_context *st)
GLboolean retval; GLboolean retval;
GLuint texUnit; GLuint texUnit;
texUnit = vprog->Base.SamplerUnits[su]; texUnit = vprog->Base.SamplerUnits[su];
retval = update_single_texture(st, &sampler_view, texUnit); retval = update_single_texture(st, &sampler_view, texUnit);
if (retval == GL_FALSE) if (retval == GL_FALSE)
continue; continue;
st->state.num_vertex_textures = su + 1;
st->state.num_vertex_textures = su + 1;
} }
pipe_sampler_view_reference(&st->state.sampler_vertex_views[su], sampler_view); pipe_sampler_view_reference(&st->state.sampler_vertex_views[su], sampler_view);
} }

View File

@@ -1135,10 +1135,10 @@ st_DrawPixels(struct gl_context *ctx, GLint x, GLint y,
assert(0); 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); stencil_format);
num_sampler_view++; num_sampler_view++;
} }
draw_textured_quad(ctx, x, y, ctx->Current.RasterPos[2], draw_textured_quad(ctx, x, y, ctx->Current.RasterPos[2],
width, height, width, height,