summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 73447057bb6..fc3844f7885 100644
--- a/src/gallium/drivers/r300/r300_render.c
+++ b/src/gallium/drivers/r300/r300_render.c
@@ -985,8 +985,6 @@ struct draw_stage* r300_draw_stage(struct r300_context* r300)
void r300_draw_flush_vbuf(struct r300_context *r300)
{
- struct r300_render *r300render;
-
pipe_resource_reference(&r300->vbo, NULL);
r300->draw_vbo_size = 0;
}