From: Marek Olšák Date: Sat, 15 May 2010 22:06:21 +0000 (+0200) Subject: r300g/swtcl: disable converting points/lines to triangles X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6a0ec833e4431445fe35230c0ab1d7dfdb997c64;p=mesa.git r300g/swtcl: disable converting points/lines to triangles --- diff --git a/src/gallium/drivers/r300/r300_context.c b/src/gallium/drivers/r300/r300_context.c index c45d4b64f42..9837deaa5e3 100644 --- a/src/gallium/drivers/r300/r300_context.c +++ b/src/gallium/drivers/r300/r300_context.c @@ -214,6 +214,9 @@ struct pipe_context* r300_create_context(struct pipe_screen* screen, draw_set_rasterize_stage(r300->draw, r300_draw_stage(r300)); /* Enable Draw's clipping. */ draw_set_driver_clipping(r300->draw, FALSE); + /* Disable converting points/lines to triangles. */ + draw_wide_line_threshold(r300->draw, 10000000.f); + draw_wide_point_threshold(r300->draw, 10000000.f); } r300_setup_atoms(r300);