Merge branch '7.8'
[mesa.git] / src / gallium / drivers / nvfx / nvfx_context.c
index 1faa0af31fb7c4ca961d81b2e5b79817f650297e..6d2dc4d5bf6311c0d9277d3c43fc41722dc86fdf 100644 (file)
@@ -70,7 +70,7 @@ nvfx_create(struct pipe_screen *pscreen, void *priv)
        nvfx_init_resource_functions(&nvfx->pipe);
 
        /* Create, configure, and install fallback swtnl path */
-       nvfx->draw = draw_create();
+       nvfx->draw = draw_create(&nvfx->pipe);
        draw_wide_point_threshold(nvfx->draw, 9999999.0);
        draw_wide_line_threshold(nvfx->draw, 9999999.0);
        draw_enable_line_stipple(nvfx->draw, FALSE);