Module: Mesa
Branch: master
Commit: ba86e03167c161e6f5d0d320571240ed55699ac0
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=ba86e03167c161e6f5d0d320571240ed55699ac0

Author: Marek Olšák <[email protected]>
Date:   Wed Apr  4 02:07:55 2012 +0200

r300g/swtcl: initialize some Draw options

---

 src/gallium/drivers/r300/r300_context.c |    3 +++
 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 bf35472..2cd0d5a 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))

_______________________________________________
mesa-commit mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to