From ba86e03167c161e6f5d0d320571240ed55699ac0 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Marek=20Ol=C5=A1=C3=A1k?= Date: Wed, 4 Apr 2012 02:07:55 +0200 Subject: [PATCH] r300g/swtcl: initialize some Draw options --- src/gallium/drivers/r300/r300_context.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/gallium/drivers/r300/r300_context.c b/src/gallium/drivers/r300/r300_context.c index bf354724524..2cd0d5ab770 100644 --- a/src/gallium/drivers/r300/r300_context.c +++ b/src/gallium/drivers/r300/r300_context.c @@ -408,6 +408,9 @@ struct pipe_context* r300_create_context(struct pipe_screen* screen, /* Disable converting points/lines to triangles. */ draw_wide_line_threshold(r300->draw, 10000000.f); draw_wide_point_threshold(r300->draw, 10000000.f); + draw_wide_point_sprites(r300->draw, FALSE); + draw_enable_line_stipple(r300->draw, TRUE); + draw_enable_point_sprites(r300->draw, FALSE); } if (!r300_setup_atoms(r300)) -- 2.30.2