summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/draw/draw_vs_aos.c
diff options
context:
space:
mode:
authorMichal Krol <[email protected]>2009-02-10 15:16:00 +0100
committerMichal Krol <[email protected]>2009-02-10 15:16:00 +0100
commite3028baff2a313baac4a5aea494532605bb8f37a (patch)
tree3df6e7de7aceabf6adfd2b8838d201ad641fcd3d /src/gallium/auxiliary/draw/draw_vs_aos.c
parent5ecd0b0890fd48656e46c017830a9f5d6b906aae (diff)
draw: Fix build -- rename Size to NrTokens.
Diffstat (limited to 'src/gallium/auxiliary/draw/draw_vs_aos.c')
-rw-r--r--src/gallium/auxiliary/draw/draw_vs_aos.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/auxiliary/draw/draw_vs_aos.c b/src/gallium/auxiliary/draw/draw_vs_aos.c
index 6817f29c2a9..0c693a4a65c 100644
--- a/src/gallium/auxiliary/draw/draw_vs_aos.c
+++ b/src/gallium/auxiliary/draw/draw_vs_aos.c
@@ -1870,7 +1870,7 @@ static boolean note_immediate( struct aos_compilation *cp,
unsigned pos = cp->num_immediates++;
unsigned j;
- for (j = 0; j < imm->Immediate.Size; j++) {
+ for (j = 0; j < imm->Immediate.NrTokens - 1; j++) {
cp->vaos->machine->immediate[pos][j] = imm->u.ImmediateFloat32[j].Float;
}