summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/r300/r300_context.c
diff options
context:
space:
mode:
authorMarek Olšák <maraeo@gmail.com>2011-03-04 18:46:09 +0100
committerMarek Olšák <maraeo@gmail.com>2011-03-05 16:13:43 +0100
commit307408a4f89be2613cac39c5f0cd776a71039965 (patch)
tree99ffd44f15048113d69f69b1fe381b2e80c70cbc /src/gallium/drivers/r300/r300_context.c
parent533bf171d4c926e4ab6fcd0d51396b195b9e024f (diff)
r300g: cleanup parameters of draw functions
Diffstat (limited to 'src/gallium/drivers/r300/r300_context.c')
-rw-r--r--src/gallium/drivers/r300/r300_context.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/gallium/drivers/r300/r300_context.c b/src/gallium/drivers/r300/r300_context.c
index b8db6fb6c1..48a595981b 100644
--- a/src/gallium/drivers/r300/r300_context.c
+++ b/src/gallium/drivers/r300/r300_context.c
@@ -78,10 +78,8 @@ static void r300_release_referenced_objects(struct r300_context *r300)
NULL);
}
- /* The dummy VBO. */
+ /* Manually-created vertex buffers. */
pipe_resource_reference(&r300->dummy_vb, NULL);
-
- /* The SWTCL VBO. */
pipe_resource_reference(&r300->vbo, NULL);
/* If there are any queries pending or not destroyed, remove them now. */