diff options
author | Zack Rusin <[email protected]> | 2009-01-26 14:49:54 -0500 |
---|---|---|
committer | Zack Rusin <[email protected]> | 2009-01-27 12:20:25 -0500 |
commit | 2299f21f8da816fc4588492965e7dac422da1a96 (patch) | |
tree | 5e67daeecc501aef7d0a74d03d9e0690a6af31d3 /src/gallium/drivers/nv40/nv40_state_emit.c | |
parent | a7e72231e3c76a9410d192441da309002ea6422d (diff) |
gallium: standardize api on the prefix "nr"
Diffstat (limited to 'src/gallium/drivers/nv40/nv40_state_emit.c')
-rw-r--r-- | src/gallium/drivers/nv40/nv40_state_emit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/nv40/nv40_state_emit.c b/src/gallium/drivers/nv40/nv40_state_emit.c index 52ec4c044b4..ce859def108 100644 --- a/src/gallium/drivers/nv40/nv40_state_emit.c +++ b/src/gallium/drivers/nv40/nv40_state_emit.c @@ -41,7 +41,7 @@ nv40_state_do_validate(struct nv40_context *nv40, const struct pipe_framebuffer_state *fb = &nv40->framebuffer; unsigned i; - for (i = 0; i < fb->num_cbufs; i++) + for (i = 0; i < fb->nr_cbufs; i++) fb->cbufs[i]->status = PIPE_SURFACE_STATUS_DEFINED; if (fb->zsbuf) fb->zsbuf->status = PIPE_SURFACE_STATUS_DEFINED; |