diff options
author | Roland Scheidegger <[email protected]> | 2010-03-01 18:46:49 +0100 |
---|---|---|
committer | Roland Scheidegger <[email protected]> | 2010-03-01 18:46:49 +0100 |
commit | e9441e1f88cc07365f4d7d9149ccefe128809645 (patch) | |
tree | 5f335a22b7b1c80485b8c3abb4259dbf884524d1 /src/gallium/drivers/r300/r300_emit.c | |
parent | f89730385532056e89e3b9053c244a67f84e323e (diff) |
r300g: adapt to new vertex element cso
Diffstat (limited to 'src/gallium/drivers/r300/r300_emit.c')
-rw-r--r-- | src/gallium/drivers/r300/r300_emit.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/drivers/r300/r300_emit.c b/src/gallium/drivers/r300/r300_emit.c index 88fe166359b..fa3df9a23b6 100644 --- a/src/gallium/drivers/r300/r300_emit.c +++ b/src/gallium/drivers/r300/r300_emit.c @@ -776,9 +776,9 @@ void r300_emit_texture(struct r300_context* r300, void r300_emit_aos(struct r300_context* r300, unsigned offset) { struct pipe_vertex_buffer *vb1, *vb2, *vbuf = r300->vertex_buffer; - struct pipe_vertex_element *velem = r300->vertex_element; + struct pipe_vertex_element *velem = r300->velems->velem; int i; - unsigned size1, size2, aos_count = r300->vertex_element_count; + unsigned size1, size2, aos_count = r300->velems->count; unsigned packet_size = (aos_count * 3 + 1) / 2; CS_LOCALS(r300); |