summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2010-05-16 00:06:21 +0200
committerMarek Olšák <[email protected]>2010-05-16 00:06:21 +0200
commit6a0ec833e4431445fe35230c0ab1d7dfdb997c64 (patch)
tree2d5aa140d185b2a1690bfcc559ed2148b0bff1fc
parent0ab72a5a0a35b84249863fe6616aaa66c0313c1c (diff)
r300g/swtcl: disable converting points/lines to triangles
-rw-r--r--src/gallium/drivers/r300/r300_context.c3
1 files changed, 3 insertions, 0 deletions
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);