projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a326595
)
nv30: add stuff to init swtnl
author
Patrice Mandin
<pmandin@caramail.com>
Wed, 23 Apr 2008 20:38:49 +0000
(22:38 +0200)
committer
Patrice Mandin
<pmandin@caramail.com>
Wed, 23 Apr 2008 20:38:49 +0000
(22:38 +0200)
src/gallium/drivers/nv30/nv30_context.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/nv30/nv30_context.c
b/src/gallium/drivers/nv30/nv30_context.c
index d38713e98ad815dd810057d80b657daa131c6be6..57b0e71dad7f39cbdd2a9f19e96b94e1598d54ce 100644
(file)
--- 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;