diff options
author | Marek Olšák <[email protected]> | 2012-03-31 05:32:25 +0200 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2012-04-24 01:39:21 +0200 |
commit | 2d03d4f4a365d7af5f4dac20700009152eba1682 (patch) | |
tree | 38295ad6418c93f609d0d194bf94988d0d8fe254 /src/gallium/drivers/r600/r600_state.c | |
parent | 31714ea4d5a20285f398286fe45b53d0609926dd (diff) |
u_vbuf: override set_vertex_buffers
Diffstat (limited to 'src/gallium/drivers/r600/r600_state.c')
-rw-r--r-- | src/gallium/drivers/r600/r600_state.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/drivers/r600/r600_state.c b/src/gallium/drivers/r600/r600_state.c index 9d3197419e5..2498196fd5e 100644 --- a/src/gallium/drivers/r600/r600_state.c +++ b/src/gallium/drivers/r600/r600_state.c @@ -1692,8 +1692,8 @@ static void r600_emit_db_misc_state(struct r600_context *rctx, struct r600_atom static void r600_emit_vertex_buffers(struct r600_context *rctx, struct r600_atom *atom) { struct radeon_winsys_cs *cs = rctx->cs; - struct pipe_vertex_buffer *vb = rctx->vbuf_mgr->real_vertex_buffer; - unsigned count = rctx->vbuf_mgr->nr_real_vertex_buffers; + struct pipe_vertex_buffer *vb = rctx->vertex_buffer; + unsigned count = rctx->nr_vertex_buffers; unsigned i, offset; for (i = 0; i < count; i++) { |