summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/nv30/nv30_context.c
diff options
context:
space:
mode:
authorPatrice Mandin <pmandin@caramail.com>2008-04-23 22:38:49 +0200
committerPatrice Mandin <pmandin@caramail.com>2008-04-23 22:38:49 +0200
commit7342688286cc3b7c938af2dfeac22df4fa8c8464 (patch)
tree9151c8669fc2d693d12c26e2e7edc9a9c687eaa8 /src/gallium/drivers/nv30/nv30_context.c
parenta3265958994ce4107da2a3954c04b496e29cd8aa (diff)
nv30: add stuff to init swtnl
Diffstat (limited to 'src/gallium/drivers/nv30/nv30_context.c')
-rw-r--r--src/gallium/drivers/nv30/nv30_context.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gallium/drivers/nv30/nv30_context.c b/src/gallium/drivers/nv30/nv30_context.c
index d38713e98a..57b0e71dad 100644
--- a/src/gallium/drivers/nv30/nv30_context.c
+++ b/src/gallium/drivers/nv30/nv30_context.c
@@ -63,7 +63,12 @@ nv30_create(struct pipe_screen *pscreen, unsigned pctx_id)
nv30_init_state_functions(nv30);
nv30_init_miptree_functions(nv30);
+ /* Create, configure, and install fallback swtnl path */
nv30->draw = draw_create();
+ draw_wide_point_threshold(nv30->draw, 9999999.0);
+ draw_wide_line_threshold(nv30->draw, 9999999.0);
+ draw_enable_line_stipple(nv30->draw, FALSE);
+ draw_enable_point_sprites(nv30->draw, FALSE);
draw_set_rasterize_stage(nv30->draw, nv30_draw_render_stage(nv30));
return &nv30->pipe;