diff options
author | Marek Olšák <maraeo@gmail.com> | 2011-02-07 02:00:44 +0100 |
---|---|---|
committer | Marek Olšák <maraeo@gmail.com> | 2011-02-07 02:46:23 +0100 |
commit | c95bc1224a4b20b9470ddcb37b5f78975991073b (patch) | |
tree | ab40264a0e79600bf000e3fc002fb27bd2df62ba /src/gallium/drivers/r300/r300_blit.c | |
parent | aa8a2224a3df111a1613f0baefebc00883e1b70b (diff) | |
download | external_mesa3d-c95bc1224a4b20b9470ddcb37b5f78975991073b.zip external_mesa3d-c95bc1224a4b20b9470ddcb37b5f78975991073b.tar.gz external_mesa3d-c95bc1224a4b20b9470ddcb37b5f78975991073b.tar.bz2 |
r300g: use the new vertex buffer manager
Diffstat (limited to 'src/gallium/drivers/r300/r300_blit.c')
-rw-r--r-- | src/gallium/drivers/r300/r300_blit.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/drivers/r300/r300_blit.c b/src/gallium/drivers/r300/r300_blit.c index 69f8115..e29990d 100644 --- a/src/gallium/drivers/r300/r300_blit.c +++ b/src/gallium/drivers/r300/r300_blit.c @@ -55,8 +55,8 @@ static void r300_blitter_begin(struct r300_context* r300, enum r300_blitter_op o util_blitter_save_viewport(r300->blitter, &r300->viewport); util_blitter_save_clip(r300->blitter, (struct pipe_clip_state*)r300->clip_state.state); util_blitter_save_vertex_elements(r300->blitter, r300->velems); - util_blitter_save_vertex_buffers(r300->blitter, r300->vertex_buffer_count, - r300->vertex_buffer); + util_blitter_save_vertex_buffers(r300->blitter, r300->vbuf_mgr->nr_vertex_buffers, + r300->vbuf_mgr->vertex_buffer); if (op & (R300_CLEAR_SURFACE | R300_COPY)) { util_blitter_save_framebuffer(r300->blitter, r300->fb_state.state); |