summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r300/r300_render.c
diff options
context:
space:
mode:
authorVinson Lee <[email protected]>2010-08-23 22:15:24 -0700
committerVinson Lee <[email protected]>2010-08-23 22:15:24 -0700
commitb48f20dab8a93fe187f6e6d9d7544f07ed8148db (patch)
treee5328ea4b5bb1e8fd28e72fdbd79a757a5a232ec /src/gallium/drivers/r300/r300_render.c
parent1288d5c39234e7c54ae2fbb81dd788c98c62a7b3 (diff)
r300g: Remove unused variable.
Fixes this GCC warning. r300_render.c: In function 'r300_draw_flush_vbuf': r300_render.c:988: warning: unused variable 'r300_render'
Diffstat (limited to 'src/gallium/drivers/r300/r300_render.c')
-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;
}