[Mesa-dev] [PATCH] r300g: pointless assignment of info.indexed
Dave Airlie
airlied at gmail.com
Mon Sep 1 16:18:11 PDT 2014
From: Dave Airlie <airlied at redhat.com>
Did this code mean to do something else, you tell me!
Signed-off-by: Dave Airlie <airlied at redhat.com>
---
src/gallium/drivers/r300/r300_render.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/src/gallium/drivers/r300/r300_render.c b/src/gallium/drivers/r300/r300_render.c
index 6e5b381..4c951d1 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;
--
1.9.3
More information about the mesa-dev
mailing list