summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/nv40/nv40_state_stipple.c
diff options
context:
space:
mode:
authorBen Skeggs <skeggsb@gmail.com>2008-02-25 13:33:08 +1100
committerBen Skeggs <skeggsb@gmail.com>2008-02-25 13:33:08 +1100
commit026e2fd3c6eb87a010a9c90341e8a77b09376b5b (patch)
treeb2d8517cf1e600ce1e26a61462a69d9fab4dfea4 /src/gallium/drivers/nv40/nv40_state_stipple.c
parent4058a9012764ce3bc7b90d03c4d79d020540f8e4 (diff)
nv40: remove pipe_state struct now.
Diffstat (limited to 'src/gallium/drivers/nv40/nv40_state_stipple.c')
-rw-r--r--src/gallium/drivers/nv40/nv40_state_stipple.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/drivers/nv40/nv40_state_stipple.c b/src/gallium/drivers/nv40/nv40_state_stipple.c
index aad4d179ac..001c396d74 100644
--- a/src/gallium/drivers/nv40/nv40_state_stipple.c
+++ b/src/gallium/drivers/nv40/nv40_state_stipple.c
@@ -3,7 +3,7 @@
static boolean
nv40_state_stipple_validate(struct nv40_context *nv40)
{
- struct pipe_rasterizer_state *rast = &nv40->pipe_state.rasterizer->pipe;
+ struct pipe_rasterizer_state *rast = &nv40->rasterizer->pipe;
struct nouveau_grobj *curie = nv40->hw->curie;
struct nouveau_stateobj *so;
@@ -19,7 +19,7 @@ nv40_state_stipple_validate(struct nv40_context *nv40)
so_data (so, 1);
so_method(so, curie, NV40TCL_POLYGON_STIPPLE_PATTERN(0), 32);
for (i = 0; i < 32; i++)
- so_data(so, nv40->pipe_state.stipple[i]);
+ so_data(so, nv40->stipple[i]);
} else {
so = so_new(2, 0);
so_method(so, curie, NV40TCL_POLYGON_STIPPLE_ENABLE, 1);