diff options
author | Brian Paul <[email protected]> | 2010-09-22 08:22:34 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2010-09-22 08:22:36 -0600 |
commit | 3cdfc6252394541e28e8290b7539bd1b132ea004 (patch) | |
tree | ad354922bee3da9692778ee1186492fdc09f3ffd /src | |
parent | 2606105cc5c452f32e3b3418e474e3c71702534a (diff) |
llvmpipe: use draw module to draw sprites
For the 7.9 branch, this is simpler than merging the sprite-coord branch
and less likely to break other drivers.
Fixes fd.o bug 29849.
Diffstat (limited to 'src')
-rw-r--r-- | src/gallium/drivers/llvmpipe/lp_context.c | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/src/gallium/drivers/llvmpipe/lp_context.c b/src/gallium/drivers/llvmpipe/lp_context.c index 39f2c6085ef..11099eed772 100644 --- a/src/gallium/drivers/llvmpipe/lp_context.c +++ b/src/gallium/drivers/llvmpipe/lp_context.c @@ -155,12 +155,9 @@ llvmpipe_create_context( struct pipe_screen *screen, void *priv ) draw_install_aapoint_stage(llvmpipe->draw, &llvmpipe->pipe); draw_install_pstipple_stage(llvmpipe->draw, &llvmpipe->pipe); - /* convert points and lines into triangles: - * (otherwise, draw points and lines natively) - */ - draw_wide_point_sprites(llvmpipe->draw, FALSE); - draw_enable_point_sprites(llvmpipe->draw, FALSE); - draw_wide_point_threshold(llvmpipe->draw, 10000.0); + /* convert points/sprites into triangles. Draw non-AA lines natively */ + draw_wide_point_sprites(llvmpipe->draw, TRUE); + draw_enable_point_sprites(llvmpipe->draw, TRUE); draw_wide_line_threshold(llvmpipe->draw, 10000.0); #if USE_DRAW_STAGE_PSTIPPLE |