diff options
author | Brian <[email protected]> | 2008-02-26 14:29:35 -0700 |
---|---|---|
committer | Brian <[email protected]> | 2008-02-26 14:32:57 -0700 |
commit | 5e29aab1752c3e07ae2ebde4cb00e6550dab0eb2 (patch) | |
tree | 87524f95d1c7900c3e38ddaeadc1910c8de813e8 /src/gallium/drivers/softpipe/sp_context.c | |
parent | b93cf55f4ecd94f5e9d5dda49d9092e3b769d044 (diff) |
gallium: replace draw_convert_wide_points() with draw_wide_point_threshold()
Specifying a threshold size is a bit more flexible, and allows the option
of converting even 1-pixel points to triangles (set threshold=0).
Also, remove 0.25 pixel bias in wide_point().
Diffstat (limited to 'src/gallium/drivers/softpipe/sp_context.c')
-rw-r--r-- | src/gallium/drivers/softpipe/sp_context.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/gallium/drivers/softpipe/sp_context.c b/src/gallium/drivers/softpipe/sp_context.c index 2cdf3c75bf3..6a884327e00 100644 --- a/src/gallium/drivers/softpipe/sp_context.c +++ b/src/gallium/drivers/softpipe/sp_context.c @@ -337,9 +337,6 @@ struct pipe_context *softpipe_create( struct pipe_winsys *pipe_winsys, draw_install_pstipple_stage(softpipe->draw, &softpipe->pipe); #endif - /* sp_prim_setup can do wide points (don't convert to quads) */ - draw_convert_wide_points(softpipe->draw, FALSE); - sp_init_surface_functions(softpipe); return &softpipe->pipe; |