From: Dave Airlie Date: Mon, 1 Sep 2014 23:17:35 +0000 (+1000) Subject: r300g: pointless assignment of info.indexed X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8380b894ad26f427c85fefadd4a9245bde3bca7e;p=mesa.git r300g: pointless assignment of info.indexed Did this code mean to do something else, you tell me! Reviewed-by: Marek Olšák Signed-off-by: Dave Airlie --- diff --git a/src/gallium/drivers/r300/r300_render.c b/src/gallium/drivers/r300/r300_render.c index 6e5b3811dcc..4c951d14f10 100644 --- a/src/gallium/drivers/r300/r300_render.c +++ b/src/gallium/drivers/r300/r300_render.c @@ -784,8 +784,6 @@ static void r300_draw_vbo(struct pipe_context* pipe, struct r300_context* r300 = r300_context(pipe); struct pipe_draw_info info = *dinfo; - info.indexed = info.indexed; - if (r300->skip_rendering || !u_trim_pipe_prim(info.mode, &info.count)) { return;