summaryrefslogtreecommitdiff
path: root/src/gallium
diff options
context:
space:
mode:
authorStephane Marchesin <marchesin@icps.u-strasbg.fr>2008-03-15 04:42:48 +0100
committerStephane Marchesin <marchesin@icps.u-strasbg.fr>2008-03-15 04:42:48 +0100
commit9a3320e0791a4a03f5f4b7a6f9c3b0d9d78655b3 (patch)
treef5ec421ef7cf2d99bedf7401574c7edba4a423b1 /src/gallium
parent1cec61e441ad5b4b1ac8d1abcaa7535bc1827eb3 (diff)
nv30: only 2 RTs.
Diffstat (limited to 'src/gallium')
-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 951a32bc81..722626db1f 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;