summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r300/r300_render.c
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2012-05-11 23:33:50 +0200
committerMarek Olšák <[email protected]>2012-05-12 00:50:53 +0200
commit735d0d93a7d748c2e0c0f13fcd6da0c13b678da9 (patch)
tree4d8ea8365a07134658ecda07e36793d3c3cbd925 /src/gallium/drivers/r300/r300_render.c
parent21b012d3b022c1c55358226f7bcc52fe50078123 (diff)
r300g/swtcl: move index buffer updates from swtcl_draw_vbo into set_index_buffer
Diffstat (limited to 'src/gallium/drivers/r300/r300_render.c')
-rw-r--r--src/gallium/drivers/r300/r300_render.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/gallium/drivers/r300/r300_render.c b/src/gallium/drivers/r300/r300_render.c
index d98b28896be..ea82e49d450 100644
--- a/src/gallium/drivers/r300/r300_render.c
+++ b/src/gallium/drivers/r300/r300_render.c
@@ -879,16 +879,6 @@ static void r300_swtcl_draw_vbo(struct pipe_context* pipe,
}
}
- if (indexed) {
- if (r300->index_buffer.user_buffer) {
- draw_set_mapped_index_buffer(r300->draw,
- r300->index_buffer.user_buffer);
- } else if (r300->index_buffer.buffer) {
- draw_set_mapped_index_buffer(r300->draw,
- r300_resource(r300->index_buffer.buffer)->malloced_buffer);
- }
- }
-
r300->draw_vbo_locked = TRUE;
r300->draw_first_emitted = FALSE;
draw_vbo(r300->draw, info);