summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/nv30/nv30_state.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/drivers/nv30/nv30_state.c')
-rw-r--r--src/gallium/drivers/nv30/nv30_state.c2
1 files changed, 1 insertions, 1 deletions
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;