summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/softpipe/sp_flush.c
diff options
context:
space:
mode:
authorZack Rusin <zackr@vmware.com>2009-01-26 14:49:54 -0500
committerZack Rusin <zackr@vmware.com>2009-01-27 12:20:25 -0500
commit2299f21f8da816fc4588492965e7dac422da1a96 (patch)
tree5e67daeecc501aef7d0a74d03d9e0690a6af31d3 /src/gallium/drivers/softpipe/sp_flush.c
parenta7e72231e3c76a9410d192441da309002ea6422d (diff)
downloadexternal_mesa3d-2299f21f8da816fc4588492965e7dac422da1a96.zip
external_mesa3d-2299f21f8da816fc4588492965e7dac422da1a96.tar.gz
external_mesa3d-2299f21f8da816fc4588492965e7dac422da1a96.tar.bz2
gallium: standardize api on the prefix "nr"
Diffstat (limited to 'src/gallium/drivers/softpipe/sp_flush.c')
-rw-r--r--src/gallium/drivers/softpipe/sp_flush.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/softpipe/sp_flush.c b/src/gallium/drivers/softpipe/sp_flush.c
index 401764b..c21faf5 100644
--- a/src/gallium/drivers/softpipe/sp_flush.c
+++ b/src/gallium/drivers/softpipe/sp_flush.c
@@ -57,7 +57,7 @@ softpipe_flush( struct pipe_context *pipe,
}
if (flags & PIPE_FLUSH_RENDER_CACHE) {
- for (i = 0; i < softpipe->framebuffer.num_cbufs; i++)
+ for (i = 0; i < softpipe->framebuffer.nr_cbufs; i++)
if (softpipe->cbuf_cache[i])
sp_flush_tile_cache(softpipe, softpipe->cbuf_cache[i]);