nv20: set surface status in clear()
[mesa.git] / src / gallium / drivers / softpipe / sp_quad_output.c
index b7aac7f84a75079807fc6584bb7381d237a355df..a37c8b4c39745a1616b5a0462b9f64787040b447 100644 (file)
@@ -48,7 +48,7 @@ output_quad(struct quad_stage *qs, struct quad_header *quad)
    uint cbuf;
 
    /* loop over colorbuffer outputs */
-   for (cbuf = 0; cbuf < softpipe->framebuffer.num_cbufs; cbuf++) {
+   for (cbuf = 0; cbuf < softpipe->framebuffer.nr_cbufs; cbuf++) {
       struct softpipe_cached_tile *tile
          = sp_get_cached_tile(softpipe,
                               softpipe->cbuf_cache[cbuf],