summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/r300/r300_context.c
diff options
context:
space:
mode:
authorCorbin Simpson <MostAwesomeDude@gmail.com>2009-08-07 19:46:52 -0700
committerCorbin Simpson <MostAwesomeDude@gmail.com>2009-08-07 20:50:42 -0700
commitc58133b81ab7c9ee12cac05c4671a87e34708a66 (patch)
tree331fc2de6b6c09e8341882b4f2efc115cd161581 /src/gallium/drivers/r300/r300_context.c
parenta962c07cc3e5fba3be5c08071bc7abc5d840f138 (diff)
r300g: Remove r300_constant_buffer::user_count.
Not needed with new compiler.
Diffstat (limited to 'src/gallium/drivers/r300/r300_context.c')
-rw-r--r--src/gallium/drivers/r300/r300_context.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/r300/r300_context.c b/src/gallium/drivers/r300/r300_context.c
index 233a32b53c..c8510bc63e 100644
--- a/src/gallium/drivers/r300/r300_context.c
+++ b/src/gallium/drivers/r300/r300_context.c
@@ -52,7 +52,7 @@ static boolean r300_draw_range_elements(struct pipe_context* pipe,
draw_set_mapped_constant_buffer(r300->draw,
r300->shader_constants[PIPE_SHADER_VERTEX].constants,
- r300->shader_constants[PIPE_SHADER_VERTEX].user_count *
+ r300->shader_constants[PIPE_SHADER_VERTEX].count *
(sizeof(float) * 4));
draw_arrays(r300->draw, mode, start, count);