summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorLuca Barbieri <[email protected]>2010-04-18 14:51:38 +0200
committerLuca Barbieri <[email protected]>2010-04-18 15:29:23 +0200
commitbc8fa67926e8e094cd05bf7f1f690cf24e903e06 (patch)
tree9d53d9f88f4ada69fe5992ff48f75c01f884596c /src
parent64aa67a360ab09db1691b37b86178e008c4e3711 (diff)
r300g: save vertex buffers around u_blitter calls
Not strictly needed by the Mesa state tracker, but needed in general. Only compile tested.
Diffstat (limited to 'src')
-rw-r--r--src/gallium/drivers/r300/r300_blit.c1
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 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. */