Module: Mesa Branch: master Commit: bc8fa67926e8e094cd05bf7f1f690cf24e903e06 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=bc8fa67926e8e094cd05bf7f1f690cf24e903e06
Author: Luca Barbieri <[email protected]> Date: Sun Apr 18 14:51:38 2010 +0200 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 files changed, 1 insertions(+), 0 deletions(-) diff --git a/src/gallium/drivers/r300/r300_blit.c b/src/gallium/drivers/r300/r300_blit.c index e84b79a..37fbd45 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. */ _______________________________________________ mesa-commit mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/mesa-commit
