softpipe: comments, re-formatting, etc
[mesa.git] / src / gallium / drivers / nv40 / nv40_state_scissor.c
index cf58d33906a9629c134f673ac8aaf6f937ac821f..753a505e934b13881a903960d4a10abeac4a9790 100644 (file)
@@ -12,7 +12,7 @@ nv40_state_scissor_validate(struct nv40_context *nv40)
                return FALSE;
        nv40->state.scissor_enabled = rast->scissor;
 
-       so = so_new(3, 0);
+       so = so_new(1, 2, 0);
        so_method(so, nv40->screen->curie, NV40TCL_SCISSOR_HORIZ, 2);
        if (nv40->state.scissor_enabled) {
                so_data  (so, ((s->maxx - s->minx) << 16) | s->minx);