diff options
author | Pedro Maia <[email protected]> | 2010-04-27 08:21:49 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2010-04-27 08:22:11 -0600 |
commit | ea373df069aa734b4f59a5fbdbc304477a3613a0 (patch) | |
tree | 9ec3eb63604786a7428bff36ef86324cb7c0d4f5 /src/gallium | |
parent | b0e2c5f8aa4d6c88dcfefc9d2b5c7fa0d29ebbd6 (diff) |
nv30/40g: fix calls to draw_create(), draw_set_rasterizer_state()
Signed-off-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/gallium')
-rw-r--r-- | src/gallium/drivers/nv30/nv30_context.c | 2 | ||||
-rw-r--r-- | src/gallium/drivers/nv40/nv40_context.c | 2 | ||||
-rw-r--r-- | src/gallium/drivers/nv40/nv40_state_emit.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/src/gallium/drivers/nv30/nv30_context.c b/src/gallium/drivers/nv30/nv30_context.c index 279b74445ca..b5ce3b02386 100644 --- a/src/gallium/drivers/nv30/nv30_context.c +++ b/src/gallium/drivers/nv30/nv30_context.c @@ -76,7 +76,7 @@ nv30_create(struct pipe_screen *pscreen, void *priv) nv30_init_state_functions(nv30); /* Create, configure, and install fallback swtnl path */ - nv30->draw = draw_create(); + nv30->draw = draw_create(&nv30->pipe); draw_wide_point_threshold(nv30->draw, 9999999.0); draw_wide_line_threshold(nv30->draw, 9999999.0); draw_enable_line_stipple(nv30->draw, FALSE); diff --git a/src/gallium/drivers/nv40/nv40_context.c b/src/gallium/drivers/nv40/nv40_context.c index 65dc73e88b3..df0831bf0f3 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); diff --git a/src/gallium/drivers/nv40/nv40_state_emit.c b/src/gallium/drivers/nv40/nv40_state_emit.c index 8990f303ce4..1247c78a2e1 100644 --- a/src/gallium/drivers/nv40/nv40_state_emit.c +++ b/src/gallium/drivers/nv40/nv40_state_emit.c @@ -164,7 +164,7 @@ nv40_state_validate_swtnl(struct nv40_context *nv40) draw_bind_vertex_shader(draw, nv40->vertprog->draw); if (nv40->draw_dirty & NV40_NEW_RAST) - draw_set_rasterizer_state(draw, &nv40->rasterizer->pipe); + draw_set_rasterizer_state(draw, &nv40->rasterizer->pipe, nv40->rasterizer); if (nv40->draw_dirty & NV40_NEW_UCP) draw_set_clip_state(draw, &nv40->clip); |