From: Marek Olšák Date: Wed, 26 Oct 2011 13:52:32 +0000 (+0200) Subject: r600g: remove redundant assignment of pipe_draw_info in draw_vbo X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=69e48e7220f018d874e85eea6962ec58b1feba87;p=mesa.git r600g: remove redundant assignment of pipe_draw_info in draw_vbo --- diff --git a/src/gallium/drivers/r600/r600_state_common.c b/src/gallium/drivers/r600/r600_state_common.c index 38efde371fd..f1d88e859cb 100644 --- a/src/gallium/drivers/r600/r600_state_common.c +++ b/src/gallium/drivers/r600/r600_state_common.c @@ -601,8 +601,6 @@ void r600_draw_vbo(struct pipe_context *ctx, const struct pipe_draw_info *dinfo) u_vbuf_draw_begin(rctx->vbuf_mgr, dinfo); r600_vertex_buffer_update(rctx); - info = *dinfo; - rdraw.vgt_num_indices = info.count; rdraw.vgt_num_instances = info.instance_count;