r300g: pointless assignment of info.indexed
authorDave Airlie <airlied@redhat.com>
Mon, 1 Sep 2014 23:17:35 +0000 (09:17 +1000)
committerDave Airlie <airlied@redhat.com>
Tue, 2 Sep 2014 21:59:09 +0000 (07:59 +1000)
Did this code mean to do something else, you tell me!

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
src/gallium/drivers/r300/r300_render.c

index 6e5b3811dcc976dc265aa64960a6755335cf95ac..4c951d14f10d380f8d664750b643ac3c27dc892f 100644 (file)
@@ -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;