r300g/swtcl: initialize some Draw options
authorMarek Olšák <maraeo@gmail.com>
Wed, 4 Apr 2012 00:07:55 +0000 (02:07 +0200)
committerMarek Olšák <maraeo@gmail.com>
Wed, 4 Apr 2012 02:28:41 +0000 (04:28 +0200)
src/gallium/drivers/r300/r300_context.c

index bf354724524caee3a1d1420829a9c063a4a26974..2cd0d5ab770527c878bb5a4ca89071c64f5ee2db 100644 (file)
@@ -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))