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/r300/r300_context.h | |
parent | 31714ea4d5a20285f398286fe45b53d0609926dd (diff) |
u_vbuf: override set_vertex_buffers
Diffstat (limited to 'src/gallium/drivers/r300/r300_context.h')
-rw-r--r-- | src/gallium/drivers/r300/r300_context.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gallium/drivers/r300/r300_context.h b/src/gallium/drivers/r300/r300_context.h index de582666ec9..086799dbadd 100644 --- a/src/gallium/drivers/r300/r300_context.h +++ b/src/gallium/drivers/r300/r300_context.h @@ -470,7 +470,7 @@ struct r300_context { /* When no vertex buffer is set, this one is used instead to prevent * hardlocks. */ - struct pipe_resource *dummy_vb; + struct pipe_vertex_buffer dummy_vb; /* The currently active query. */ struct r300_query *query_current; @@ -580,8 +580,8 @@ struct r300_context { struct u_vbuf *vbuf_mgr; struct pipe_index_buffer index_buffer; - struct pipe_vertex_buffer swtcl_vertex_buffer[PIPE_MAX_ATTRIBS]; - unsigned swtcl_nr_vertex_buffers; + struct pipe_vertex_buffer vertex_buffer[PIPE_MAX_ATTRIBS]; + unsigned nr_vertex_buffers; struct util_slab_mempool pool_transfers; |