diff options
author | Brian <brian@poulsbo.localnet.net> | 2008-02-26 14:29:35 -0700 |
---|---|---|
committer | Brian <brian@poulsbo.localnet.net> | 2008-02-26 14:32:57 -0700 |
commit | 5e29aab1752c3e07ae2ebde4cb00e6550dab0eb2 (patch) | |
tree | 87524f95d1c7900c3e38ddaeadc1910c8de813e8 /src/gallium/auxiliary/draw/draw_private.h | |
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/auxiliary/draw/draw_private.h')
-rw-r--r-- | src/gallium/auxiliary/draw/draw_private.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/auxiliary/draw/draw_private.h b/src/gallium/auxiliary/draw/draw_private.h index 6abced139b..03e3d3a66b 100644 --- a/src/gallium/auxiliary/draw/draw_private.h +++ b/src/gallium/auxiliary/draw/draw_private.h @@ -215,7 +215,7 @@ struct draw_context float plane[12][4]; unsigned nr_planes; - boolean convert_wide_points; /**< convert wide points to tris? */ + float wide_point_threshold; /**< convert pnts to tris if larger than this */ boolean convert_wide_lines; /**< convert wide lines to tris? */ boolean use_sse; |