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_render.c | |
parent | b6f93e2607f1bbc5b2f478f0a57d7786dd7d73a5 (diff) |
r300g: Unify context names for counts.
From the SW TCL fixups.
Diffstat (limited to 'src/gallium/drivers/r300/r300_render.c')
-rw-r--r-- | src/gallium/drivers/r300/r300_render.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/r300/r300_render.c b/src/gallium/drivers/r300/r300_render.c index fa057324f8..1ff3e64b44 100644 --- a/src/gallium/drivers/r300/r300_render.c +++ b/src/gallium/drivers/r300/r300_render.c @@ -140,7 +140,7 @@ static boolean r300_setup_vertex_buffers(struct r300_context *r300) struct pipe_vertex_element *velem = r300->vertex_element; validate: - for (int i = 0; i < r300->aos_count; i++) { + for (int i = 0; i < r300->vertex_element_count; i++) { if (!r300->winsys->add_buffer(r300->winsys, vbuf[velem[i].vertex_buffer_index].buffer, RADEON_GEM_DOMAIN_GTT, 0)) { |