summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/softpipe/sp_context.c
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2010-09-25 14:06:58 -0600
committerBrian Paul <[email protected]>2010-09-25 14:25:40 -0600
commiteed4509b086828c6229a7b1865978ffa27377874 (patch)
tree279c622742ea2547e5694abe1262083178a0d5ed /src/gallium/drivers/softpipe/sp_context.c
parentc5dd2e40e268e40335a47b86b7c4ce201e337a77 (diff)
softpipe: make vertex state functions static
Diffstat (limited to 'src/gallium/drivers/softpipe/sp_context.c')
-rw-r--r--src/gallium/drivers/softpipe/sp_context.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/gallium/drivers/softpipe/sp_context.c b/src/gallium/drivers/softpipe/sp_context.c
index e7b6fc445d9..ad8975a59d3 100644
--- a/src/gallium/drivers/softpipe/sp_context.c
+++ b/src/gallium/drivers/softpipe/sp_context.c
@@ -237,9 +237,7 @@ softpipe_create_context( struct pipe_screen *screen,
softpipe_init_shader_funcs(&softpipe->pipe);
- softpipe->pipe.create_vertex_elements_state = softpipe_create_vertex_elements_state;
- softpipe->pipe.bind_vertex_elements_state = softpipe_bind_vertex_elements_state;
- softpipe->pipe.delete_vertex_elements_state = softpipe_delete_vertex_elements_state;
+ softpipe_init_vertex_funcs(&softpipe->pipe);
softpipe->pipe.create_stream_output_state = softpipe_create_stream_output_state;
softpipe->pipe.bind_stream_output_state = softpipe_bind_stream_output_state;
@@ -252,8 +250,6 @@ softpipe_create_context( struct pipe_screen *screen,
softpipe->pipe.set_viewport_state = softpipe_set_viewport_state;
softpipe->pipe.set_stream_output_buffers = softpipe_set_stream_output_buffers;
- softpipe->pipe.set_vertex_buffers = softpipe_set_vertex_buffers;
- softpipe->pipe.set_index_buffer = softpipe_set_index_buffer;
softpipe->pipe.draw_vbo = softpipe_draw_vbo;
softpipe->pipe.draw_stream_output = softpipe_draw_stream_output;