summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/nv40/nv40_context.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/drivers/nv40/nv40_context.c')
-rw-r--r--src/gallium/drivers/nv40/nv40_context.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/nv40/nv40_context.c b/src/gallium/drivers/nv40/nv40_context.c
index 65dc73e88b..df0831bf0f 100644
--- a/src/gallium/drivers/nv40/nv40_context.c
+++ b/src/gallium/drivers/nv40/nv40_context.c
@@ -76,7 +76,7 @@ nv40_create(struct pipe_screen *pscreen, void *priv)
nv40_init_state_functions(nv40);
/* Create, configure, and install fallback swtnl path */
- nv40->draw = draw_create();
+ nv40->draw = draw_create(&nv40->pipe);
draw_wide_point_threshold(nv40->draw, 9999999.0);
draw_wide_line_threshold(nv40->draw, 9999999.0);
draw_enable_line_stipple(nv40->draw, FALSE);