From bc8fa67926e8e094cd05bf7f1f690cf24e903e06 Mon Sep 17 00:00:00 2001 From: Luca Barbieri Date: Sun, 18 Apr 2010 14:51:38 +0200 Subject: [PATCH] r300g: save vertex buffers around u_blitter calls Not strictly needed by the Mesa state tracker, but needed in general. Only compile tested. --- src/gallium/drivers/r300/r300_blit.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/gallium/drivers/r300/r300_blit.c b/src/gallium/drivers/r300/r300_blit.c index e84b79ae902..37fbd4504f7 100644 --- a/src/gallium/drivers/r300/r300_blit.c +++ b/src/gallium/drivers/r300/r300_blit.c @@ -37,6 +37,7 @@ 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); } /* Clear currently bound buffers. */ -- 2.30.2