summaryrefslogtreecommitdiffstats
path: root/src/gallium
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2010-06-09 02:19:33 +0200
committerMarek Olšák <[email protected]>2010-06-09 02:26:44 +0200
commit26f3f13fa1aff4e067110e941bb8d55e4f4d6b8a (patch)
tree9be227976fc218b7aa71f2e4300b7b0c6a6d9221 /src/gallium
parent8f17e011c341ff78ada9543545c1f41caf66b2e9 (diff)
r300g: save vertex buffers in blitter
Diffstat (limited to 'src/gallium')
-rw-r--r--src/gallium/drivers/r300/r300_blit.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gallium/drivers/r300/r300_blit.c b/src/gallium/drivers/r300/r300_blit.c
index 49ec51fd132..cc64fc3d7a7 100644
--- a/src/gallium/drivers/r300/r300_blit.c
+++ b/src/gallium/drivers/r300/r300_blit.c
@@ -36,9 +36,8 @@ 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);
- /* XXX this crashes the driver
util_blitter_save_vertex_buffers(r300->blitter, r300->vertex_buffer_count,
- r300->vertex_buffer); */
+ r300->vertex_buffer);
}
/* Clear currently bound buffers. */