summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/r300/r300_screen_buffer.c
diff options
context:
space:
mode:
authorMarek Olšák <maraeo@gmail.com>2011-02-08 16:34:22 +0100
committerMarek Olšák <maraeo@gmail.com>2011-02-08 16:35:02 +0100
commitb541a3c4c0a125087fa9e1e0d35db019c36fb0e9 (patch)
treedfb8c174ddd5518b1356aa5e0cc502ddc6c4464e /src/gallium/drivers/r300/r300_screen_buffer.c
parent467023e8080489abeff53e18ac83560eaf851827 (diff)
r300g: use the same upload buffer for vertices and indices
Diffstat (limited to 'src/gallium/drivers/r300/r300_screen_buffer.c')
-rw-r--r--src/gallium/drivers/r300/r300_screen_buffer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/r300/r300_screen_buffer.c b/src/gallium/drivers/r300/r300_screen_buffer.c
index d76524d261..4a3cc7a3f4 100644
--- a/src/gallium/drivers/r300/r300_screen_buffer.c
+++ b/src/gallium/drivers/r300/r300_screen_buffer.c
@@ -67,7 +67,7 @@ void r300_upload_index_buffer(struct r300_context *r300,
*index_buffer = NULL;
- u_upload_data(r300->upload_ib,
+ u_upload_data(r300->vbuf_mgr->uploader,
0, count * index_size,
ptr + (*start * index_size),
&index_offset,