From: Patrice Mandin Date: Fri, 22 Feb 2008 16:18:27 +0000 (+0100) Subject: nv30: wrong number of parameters X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0a5ed0667e6bd934a150bf7f784349fa7f595309;p=mesa.git nv30: wrong number of parameters --- diff --git a/src/gallium/drivers/nv30/nv30_state.c b/src/gallium/drivers/nv30/nv30_state.c index 53368561e07..db4dac24c74 100644 --- a/src/gallium/drivers/nv30/nv30_state.c +++ b/src/gallium/drivers/nv30/nv30_state.c @@ -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; }