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-Tag: 062012170305~3651 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=69e48e7220f018d874e85eea6962ec58b1feba87;p=profile%2Fivi%2Fmesa.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 38efde3..f1d88e8 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;