summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2012-04-04 02:07:55 +0200
committerMarek Olšák <[email protected]>2012-04-04 04:28:41 +0200
commitba86e03167c161e6f5d0d320571240ed55699ac0 (patch)
tree01a89ca214b53cb71018b57766d7fad8ef47f134 /src/gallium/drivers
parentc3481f341021c87c86a69bcf892447e55b0687e9 (diff)
r300g/swtcl: initialize some Draw options
Diffstat (limited to 'src/gallium/drivers')
-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 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))