summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2010-04-18 16:59:35 +0200
committerMarek Olšák <[email protected]>2010-04-18 17:02:39 +0200
commit69d8b6d5fb1f87411c2a7c67142850f1aafe1b4d (patch)
tree25c990566810f70078beab8fe32eef9e4d48c5e8
parent5acee6602319588dedc3317274058bdbd9f6450b (diff)
Revert "r300g: save vertex buffers around u_blitter calls"
Not sure why it crashes.
-rw-r--r--src/gallium/drivers/r300/r300_blit.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gallium/drivers/r300/r300_blit.c b/src/gallium/drivers/r300/r300_blit.c
index 37fbd4504f7..e15c71eef65 100644
--- a/src/gallium/drivers/r300/r300_blit.c
+++ b/src/gallium/drivers/r300/r300_blit.c
@@ -37,7 +37,9 @@ static void r300_blitter_save_states(struct r300_context* r300)
util_blitter_save_viewport(r300->blitter, &r300->viewport);
util_blitter_save_clip(r300->blitter, &r300->clip);
util_blitter_save_vertex_elements(r300->blitter, r300->velems);
- util_blitter_save_vertex_buffers(r300->blitter, r300->vertex_buffer_count, r300->vertex_buffer);
+ /* XXX this crashes the driver
+ util_blitter_save_vertex_buffers(r300->blitter, r300->vertex_buffer_count,
+ r300->vertex_buffer); */
}
/* Clear currently bound buffers. */