summaryrefslogtreecommitdiffstats
path: root/src/gallium
diff options
context:
space:
mode:
authorDave Airlie <[email protected]>2014-09-02 09:17:35 +1000
committerDave Airlie <[email protected]>2014-09-03 07:59:09 +1000
commit8380b894ad26f427c85fefadd4a9245bde3bca7e (patch)
tree0e6c67730a4d0d27c50154c9613a0c4e1751205d /src/gallium
parent2b24e5831048727071a5e0359e1eb1f589d45cfb (diff)
r300g: pointless assignment of info.indexed
Did this code mean to do something else, you tell me! Reviewed-by: Marek Olšák <[email protected]> Signed-off-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src/gallium')
-rw-r--r--src/gallium/drivers/r300/r300_render.c2
1 files changed, 0 insertions, 2 deletions
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;