diff options
author | Brian <brian.paul@tungstengraphics.com> | 2007-12-09 21:10:39 -0700 |
---|---|---|
committer | Brian <brian.paul@tungstengraphics.com> | 2007-12-09 21:10:39 -0700 |
commit | 98848382731b71a51e4a80f1820f009e70f06a25 (patch) | |
tree | 13d6a08bf46f492ee5266069de248de9642c74b1 /src/mesa/pipe/softpipe/sp_quad.c | |
parent | 04e88f469cf6c338ba04640738865b59e160c3d4 (diff) |
Fix looping for multi-color buffer writing.
Diffstat (limited to 'src/mesa/pipe/softpipe/sp_quad.c')
-rw-r--r-- | src/mesa/pipe/softpipe/sp_quad.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/pipe/softpipe/sp_quad.c b/src/mesa/pipe/softpipe/sp_quad.c index e0327c4cf9..6330465a8b 100644 --- a/src/mesa/pipe/softpipe/sp_quad.c +++ b/src/mesa/pipe/softpipe/sp_quad.c @@ -77,7 +77,7 @@ sp_build_quad_pipeline(struct softpipe_context *sp) if (sp->framebuffer.num_cbufs == 1) { /* the usual case: write to exactly one colorbuf */ - sp->cbuf = sp->framebuffer.cbufs[0]; + sp->current_cbuf = 0; } else { /* insert bufloop stage */ |