gallium: standardize api on the prefix "nr"
[mesa.git] / src / gallium / drivers / softpipe / sp_clear.c
index dfa46c9fb705e40cdd05dd2a358f4a68963336b7..ad108ec446de75ecff7e25bd5d0a4885e912686b 100644 (file)
@@ -85,7 +85,7 @@ softpipe_clear(struct pipe_context *pipe, struct pipe_surface *ps,
 #endif
    }
 
-   for (i = 0; i < softpipe->framebuffer.num_cbufs; i++) {
+   for (i = 0; i < softpipe->framebuffer.nr_cbufs; i++) {
       if (ps == sp_tile_cache_get_surface(softpipe->cbuf_cache[i])) {
          unsigned cv;
          if (ps->format != PIPE_FORMAT_A8R8G8B8_UNORM) {