r600g: remove redundant assignment of pipe_draw_info in draw_vbo
authorMarek Olšák <maraeo@gmail.com>
Wed, 26 Oct 2011 13:52:32 +0000 (15:52 +0200)
committerMarek Olšák <maraeo@gmail.com>
Wed, 26 Oct 2011 13:54:30 +0000 (15:54 +0200)
src/gallium/drivers/r600/r600_state_common.c

index 38efde371fd2f461f597a0518980bde60a22a88b..f1d88e859cb877b43eeb8b91b48b89ea86610327 100644 (file)
@@ -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;