From: Stephane Marchesin Date: Sat, 15 Mar 2008 03:42:48 +0000 (+0100) Subject: nv30: only 2 RTs. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9a3320e0791a4a03f5f4b7a6f9c3b0d9d78655b3;p=mesa.git nv30: only 2 RTs. --- diff --git a/src/gallium/drivers/nv30/nv30_state.c b/src/gallium/drivers/nv30/nv30_state.c index 951a32bc81e..722626db1fa 100644 --- a/src/gallium/drivers/nv30/nv30_state.c +++ b/src/gallium/drivers/nv30/nv30_state.c @@ -546,7 +546,7 @@ nv30_set_framebuffer_state(struct pipe_context *pipe, int i, colour_format = 0, zeta_format = 0; rt_enable = 0; - for (i = 0; i < 4; i++) { + for (i = 0; i < 2; i++) { if (!fb->cbufs[i]) continue;