diff options
author | Hui Qi Tay <[email protected]> | 2010-07-19 15:23:09 +0100 |
---|---|---|
committer | Keith Whitwell <[email protected]> | 2010-08-27 13:08:54 +0100 |
commit | 5286dd701640976ffc328e8e85fb3830746851a1 (patch) | |
tree | 9d11aca1063f70218e52135b78540619092b2da3 /src/gallium/drivers/llvmpipe/lp_context.c | |
parent | c95ca04b63eadb61add249531c1041aaf5b525d6 (diff) |
llvmpipe: native rasterization for lines
Rasterize lines directly by treating them as 4-sided polygons.
Still need to check the exact pixel rasteration.
Diffstat (limited to 'src/gallium/drivers/llvmpipe/lp_context.c')
-rw-r--r-- | src/gallium/drivers/llvmpipe/lp_context.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/llvmpipe/lp_context.c b/src/gallium/drivers/llvmpipe/lp_context.c index 086a2d58985..a6873abbee8 100644 --- a/src/gallium/drivers/llvmpipe/lp_context.c +++ b/src/gallium/drivers/llvmpipe/lp_context.c @@ -157,7 +157,7 @@ llvmpipe_create_context( struct pipe_screen *screen, void *priv ) /* convert points and lines into triangles: */ draw_wide_point_threshold(llvmpipe->draw, 0.0); - draw_wide_line_threshold(llvmpipe->draw, 0.0); + draw_wide_line_threshold(llvmpipe->draw, 10000.0); #if USE_DRAW_STAGE_PSTIPPLE /* Do polygon stipple w/ texture map + frag prog? */ |