summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/softpipe/sp_context.c
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2010-09-25 14:08:49 -0600
committerBrian Paul <[email protected]>2010-09-25 14:25:40 -0600
commitbd13a0d282d5468c083d06f4443dfaf375e01dda (patch)
treee16a2471f5bbf0186520ff77ea87aaee4874764a /src/gallium/drivers/softpipe/sp_context.c
parenteed4509b086828c6229a7b1865978ffa27377874 (diff)
softpipe: make rasterizer state functions static
Diffstat (limited to 'src/gallium/drivers/softpipe/sp_context.c')
-rw-r--r--src/gallium/drivers/softpipe/sp_context.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/gallium/drivers/softpipe/sp_context.c b/src/gallium/drivers/softpipe/sp_context.c
index ad8975a59d3..346b56aab49 100644
--- a/src/gallium/drivers/softpipe/sp_context.c
+++ b/src/gallium/drivers/softpipe/sp_context.c
@@ -229,14 +229,9 @@ softpipe_create_context( struct pipe_screen *screen,
/* state setters */
softpipe_init_blend_funcs(&softpipe->pipe);
+ softpipe_init_rasterizer_funcs(&softpipe->pipe);
softpipe_init_sampler_funcs(&softpipe->pipe);
-
- softpipe->pipe.create_rasterizer_state = softpipe_create_rasterizer_state;
- softpipe->pipe.bind_rasterizer_state = softpipe_bind_rasterizer_state;
- softpipe->pipe.delete_rasterizer_state = softpipe_delete_rasterizer_state;
-
softpipe_init_shader_funcs(&softpipe->pipe);
-
softpipe_init_vertex_funcs(&softpipe->pipe);
softpipe->pipe.create_stream_output_state = softpipe_create_stream_output_state;