diff options
author | Keith Whitwell <keith@tungstengraphics.com> | 2008-04-21 16:10:13 +0100 |
---|---|---|
committer | Keith Whitwell <keith@tungstengraphics.com> | 2008-04-21 16:16:16 +0100 |
commit | a918a9c744f656c8bf2e3fd2841732e01a5ccefc (patch) | |
tree | 7da85501d80bc58a7d51adebf5c2aad240f5b2b8 /src/gallium/auxiliary/draw/draw_pipe_flatshade.c | |
parent | d3045ebb0642b09b4d353be6d4a258e6766061e6 (diff) | |
download | external_mesa3d-a918a9c744f656c8bf2e3fd2841732e01a5ccefc.zip external_mesa3d-a918a9c744f656c8bf2e3fd2841732e01a5ccefc.tar.gz external_mesa3d-a918a9c744f656c8bf2e3fd2841732e01a5ccefc.tar.bz2 |
draw: consolidate all the passthrough line/tri/point funcs
Diffstat (limited to 'src/gallium/auxiliary/draw/draw_pipe_flatshade.c')
-rw-r--r-- | src/gallium/auxiliary/draw/draw_pipe_flatshade.c | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/src/gallium/auxiliary/draw/draw_pipe_flatshade.c b/src/gallium/auxiliary/draw/draw_pipe_flatshade.c index bdb8b49..2aeb309 100644 --- a/src/gallium/auxiliary/draw/draw_pipe_flatshade.c +++ b/src/gallium/auxiliary/draw/draw_pipe_flatshade.c @@ -152,13 +152,6 @@ static void flatshade_line_1( struct draw_stage *stage, } -/* Flatshade point -- passthrough. - */ -static void flatshade_point( struct draw_stage *stage, - struct prim_header *header ) -{ - stage->next->point( stage->next, header ); -} static void flatshade_init_state( struct draw_stage *stage ) @@ -236,7 +229,7 @@ struct draw_stage *draw_flatshade_stage( struct draw_context *draw ) flatshade->stage.draw = draw; flatshade->stage.next = NULL; - flatshade->stage.point = flatshade_point; + flatshade->stage.point = draw_pipe_passthrough_point; flatshade->stage.line = flatshade_first_line; flatshade->stage.tri = flatshade_first_tri; flatshade->stage.flush = flatshade_flush; |