summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/softpipe/sp_clear.c
diff options
context:
space:
mode:
authorZack Rusin <[email protected]>2009-01-26 14:49:54 -0500
committerZack Rusin <[email protected]>2009-01-27 12:20:25 -0500
commit2299f21f8da816fc4588492965e7dac422da1a96 (patch)
tree5e67daeecc501aef7d0a74d03d9e0690a6af31d3 /src/gallium/drivers/softpipe/sp_clear.c
parenta7e72231e3c76a9410d192441da309002ea6422d (diff)
gallium: standardize api on the prefix "nr"
Diffstat (limited to 'src/gallium/drivers/softpipe/sp_clear.c')
-rw-r--r--src/gallium/drivers/softpipe/sp_clear.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/softpipe/sp_clear.c b/src/gallium/drivers/softpipe/sp_clear.c
index dfa46c9fb70..ad108ec446d 100644
--- a/src/gallium/drivers/softpipe/sp_clear.c
+++ b/src/gallium/drivers/softpipe/sp_clear.c
@@ -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) {