summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r600/r600_buffer.c
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2011-01-28 21:55:28 +0100
committerMarek Olšák <[email protected]>2011-01-30 03:29:48 +0100
commit5cefe1eddd4854490aebdf4f138ffb07aa59073c (patch)
tree8f33cc13bf3ee4704bf2f44179a5c27aa89ff953 /src/gallium/drivers/r600/r600_buffer.c
parent02f8f134643f631364ca621fe0b6d6b72449e00c (diff)
r600g: make r600_drawl inherit pipe_draw_info
Diffstat (limited to 'src/gallium/drivers/r600/r600_buffer.c')
-rw-r--r--src/gallium/drivers/r600/r600_buffer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/r600/r600_buffer.c b/src/gallium/drivers/r600/r600_buffer.c
index f2247546062..024bbc29168 100644
--- a/src/gallium/drivers/r600/r600_buffer.c
+++ b/src/gallium/drivers/r600/r600_buffer.c
@@ -207,7 +207,7 @@ void r600_upload_index_buffer(struct r600_pipe_context *rctx, struct r600_drawl
boolean flushed;
u_upload_data(rctx->upload_vb, 0,
- draw->count * draw->index_size,
+ draw->info.count * draw->index_size,
rbuffer->user_buffer,
&draw->index_buffer_offset,
&draw->index_buffer, &flushed);