nv40: Fix incorrect so_new() numbering.
authorFrancisco Jerez <currojerez@riseup.net>
Tue, 16 Feb 2010 17:37:43 +0000 (18:37 +0100)
committerFrancisco Jerez <currojerez@riseup.net>
Tue, 16 Feb 2010 17:37:43 +0000 (18:37 +0100)
src/gallium/drivers/nv40/nv40_state.c

index 2073bf0735374f57d04c7bcbbe179907998ba5ed..4f28675e64c5f9b8d6bf305a958c91fe59a9bad8 100644 (file)
@@ -310,7 +310,7 @@ nv40_rasterizer_state_create(struct pipe_context *pipe,
 {
        struct nv40_context *nv40 = nv40_context(pipe);
        struct nv40_rasterizer_state *rsso = CALLOC(1, sizeof(*rsso));
-       struct nouveau_stateobj *so = so_new(8, 18, 0);
+       struct nouveau_stateobj *so = so_new(9, 19, 0);
        struct nouveau_grobj *curie = nv40->screen->curie;
 
        /*XXX: ignored: