summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/softpipe/sp_setup.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_setup.c
parenta7e72231e3c76a9410d192441da309002ea6422d (diff)
gallium: standardize api on the prefix "nr"
Diffstat (limited to 'src/gallium/drivers/softpipe/sp_setup.c')
-rw-r--r--src/gallium/drivers/softpipe/sp_setup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/softpipe/sp_setup.c b/src/gallium/drivers/softpipe/sp_setup.c
index 13d80173937..b1adb9cb7a2 100644
--- a/src/gallium/drivers/softpipe/sp_setup.c
+++ b/src/gallium/drivers/softpipe/sp_setup.c
@@ -1497,7 +1497,7 @@ void setup_prepare( struct setup_context *setup )
}
/* Mark surfaces as defined now */
- for (i = 0; i < sp->framebuffer.num_cbufs; i++){
+ for (i = 0; i < sp->framebuffer.nr_cbufs; i++){
if (sp->framebuffer.cbufs[i]) {
sp->framebuffer.cbufs[i]->status = PIPE_SURFACE_STATUS_DEFINED;
}