diff options
author | Dave Airlie <airlied@redhat.com> | 2010-09-10 14:07:49 +1000 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2010-09-10 14:07:49 +1000 |
commit | cc1b3b1013d1fb1f1f25ade20a68d8bdfe14f5f7 (patch) | |
tree | 8d230952f3276b0d547e5aed806db557166fe25b /src/gallium/drivers/r600/r600_hw_states.c | |
parent | ad5ada4372356583599a84f50a43ca688165e18f (diff) |
r600g: fix warning in r600 pipe driver
Diffstat (limited to 'src/gallium/drivers/r600/r600_hw_states.c')
-rw-r--r-- | src/gallium/drivers/r600/r600_hw_states.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gallium/drivers/r600/r600_hw_states.c b/src/gallium/drivers/r600/r600_hw_states.c index 3d3e87d723..768202ab38 100644 --- a/src/gallium/drivers/r600/r600_hw_states.c +++ b/src/gallium/drivers/r600/r600_hw_states.c @@ -1084,10 +1084,9 @@ void r600_set_constant_buffer_mem(struct pipe_context *ctx, { struct r600_screen *rscreen = r600_screen(ctx->screen); struct r600_context *rctx = r600_context(ctx); - unsigned nconstant = 0, i, type, shader_class, size; + unsigned nconstant = 0, type, shader_class, size; struct radeon_state *rstate, *rstates; struct r600_resource *rbuffer = (struct r600_resource*)buffer; - u32 *ptr; type = R600_STATE_CBUF; |