nv30: wrong number of parameters
authorPatrice Mandin <pmandin@caramail.com>
Fri, 22 Feb 2008 16:18:27 +0000 (17:18 +0100)
committerPatrice Mandin <pmandin@caramail.com>
Fri, 22 Feb 2008 16:18:27 +0000 (17:18 +0100)
src/gallium/drivers/nv30/nv30_state.c

index 53368561e07e79b452841debdf463288d426fe32..db4dac24c74dde3dc870155622258a39274843c1 100644 (file)
@@ -609,7 +609,7 @@ nv30_set_framebuffer_state(struct pipe_context *pipe,
        }
 
        if (rt_enable & NV34TCL_RT_ENABLE_COLOR1) {
-               BEGIN_RING(rankine, NV34TCL_COLOR1_PITCH, 2);
+               BEGIN_RING(rankine, NV34TCL_COLOR1_PITCH, 1);
                OUT_RING  (rt[1]->pitch * rt[1]->cpp);
                nv30->rt[1] = rt[1]->buffer;
        }