diff options
author | Brian Paul <[email protected]> | 2010-04-28 14:06:23 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2010-04-28 15:25:50 -0600 |
commit | f7885f8f1fd242dd3f8dafe98549c190bb4cab3a (patch) | |
tree | 2822bfbf44f8df511b75453abbde5cbf05da58bf /src/gallium/drivers/llvmpipe/lp_context.c | |
parent | e351e828698b133feb1f626c1d99d0fcb2ec1480 (diff) |
llvmpipe: make draw-related functions static, clean-up initializations
Diffstat (limited to 'src/gallium/drivers/llvmpipe/lp_context.c')
-rw-r--r-- | src/gallium/drivers/llvmpipe/lp_context.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/gallium/drivers/llvmpipe/lp_context.c b/src/gallium/drivers/llvmpipe/lp_context.c index 52906e280c4..73d2ac0bf61 100644 --- a/src/gallium/drivers/llvmpipe/lp_context.c +++ b/src/gallium/drivers/llvmpipe/lp_context.c @@ -120,14 +120,11 @@ llvmpipe_create_context( struct pipe_screen *screen, void *priv ) llvmpipe->pipe.set_viewport_state = llvmpipe_set_viewport_state; - llvmpipe->pipe.draw_arrays = llvmpipe_draw_arrays; - llvmpipe->pipe.draw_elements = llvmpipe_draw_elements; - llvmpipe->pipe.draw_range_elements = llvmpipe_draw_range_elements; - llvmpipe->pipe.clear = llvmpipe_clear; llvmpipe->pipe.flush = llvmpipe_flush; llvmpipe_init_blend_funcs(llvmpipe); + llvmpipe_init_draw_funcs(llvmpipe); llvmpipe_init_sampler_funcs(llvmpipe); llvmpipe_init_query_funcs( llvmpipe ); llvmpipe_init_vertex_funcs(llvmpipe); |