summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/softpipe/sp_context.c
diff options
context:
space:
mode:
authorBrian <brian@poulsbo.localnet.net>2008-02-26 14:29:35 -0700
committerBrian <brian@poulsbo.localnet.net>2008-02-26 14:32:57 -0700
commit5e29aab1752c3e07ae2ebde4cb00e6550dab0eb2 (patch)
tree87524f95d1c7900c3e38ddaeadc1910c8de813e8 /src/gallium/drivers/softpipe/sp_context.c
parentb93cf55f4ecd94f5e9d5dda49d9092e3b769d044 (diff)
downloadexternal_mesa3d-5e29aab1752c3e07ae2ebde4cb00e6550dab0eb2.zip
external_mesa3d-5e29aab1752c3e07ae2ebde4cb00e6550dab0eb2.tar.gz
external_mesa3d-5e29aab1752c3e07ae2ebde4cb00e6550dab0eb2.tar.bz2
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.c3
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 2cdf3c7..6a88432 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;