From: Luca Barbieri Date: Sun, 18 Apr 2010 12:51:38 +0000 (+0200) Subject: r300g: save vertex buffers around u_blitter calls X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=bc8fa67926e8e094cd05bf7f1f690cf24e903e06;p=mesa.git r300g: save vertex buffers around u_blitter calls Not strictly needed by the Mesa state tracker, but needed in general. Only compile tested. --- 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. */