From 26f3f13fa1aff4e067110e941bb8d55e4f4d6b8a Mon Sep 17 00:00:00 2001 From: Marek Olšák Date: Wed, 9 Jun 2010 02:19:33 +0200 Subject: r300g: save vertex buffers in blitter --- src/gallium/drivers/r300/r300_blit.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/gallium') diff --git a/src/gallium/drivers/r300/r300_blit.c b/src/gallium/drivers/r300/r300_blit.c index 49ec51fd13..cc64fc3d7a 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. */ -- cgit v1.2.3