From 2d03d4f4a365d7af5f4dac20700009152eba1682 Mon Sep 17 00:00:00 2001 From: Marek Olšák Date: Sat, 31 Mar 2012 05:32:25 +0200 Subject: u_vbuf: override set_vertex_buffers --- src/gallium/drivers/r300/r300_context.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/gallium/drivers/r300/r300_context.h') 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; -- cgit v1.2.3