diff options
author | Corbin Simpson <MostAwesomeDude@gmail.com> | 2009-11-08 11:45:57 -0800 |
---|---|---|
committer | Corbin Simpson <MostAwesomeDude@gmail.com> | 2009-11-08 14:53:29 -0800 |
commit | 11d9edf4c9c75d5a41fb0a1757441ad315330bea (patch) | |
tree | d395c24318dfe4399b868dd53114aeab8e442e7c /src/gallium/drivers/r300/r300_vbo.c | |
parent | b6f93e2607f1bbc5b2f478f0a57d7786dd7d73a5 (diff) |
r300g: Unify context names for counts.
From the SW TCL fixups.
Diffstat (limited to 'src/gallium/drivers/r300/r300_vbo.c')
-rw-r--r-- | src/gallium/drivers/r300/r300_vbo.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/gallium/drivers/r300/r300_vbo.c b/src/gallium/drivers/r300/r300_vbo.c index 5ad6b9c215..a6a159667a 100644 --- a/src/gallium/drivers/r300/r300_vbo.c +++ b/src/gallium/drivers/r300/r300_vbo.c @@ -71,12 +71,13 @@ void setup_vertex_attributes(struct r300_context *r300) struct pipe_vertex_element *vert_elem; int i; - for (i = 0; i < r300->aos_count; i++) { + for (i = 0; i < r300->vertex_element_count; i++) { vert_elem = &r300->vertex_element[i]; setup_vertex_attribute(r300->vertex_info, vert_elem, i); } - finish_vertex_attribs_setup(r300->vertex_info, r300->aos_count); + finish_vertex_attribs_setup(r300->vertex_info, + r300->vertex_element_count); } static INLINE int get_buffer_offset(struct r300_context *r300, |