summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/tgsi/tgsi_text.c
diff options
context:
space:
mode:
authorMichal Krol <[email protected]>2009-02-10 15:14:31 +0100
committerMichal Krol <[email protected]>2009-02-10 15:14:31 +0100
commit5ecd0b0890fd48656e46c017830a9f5d6b906aae (patch)
tree993227820e0f1e9071fe64a11701d198310ffb30 /src/gallium/auxiliary/tgsi/tgsi_text.c
parentbf3930453cb85977510863e5cfba8487e09c093e (diff)
tgsi: Fix build -- rename Size to NrTokens.
Diffstat (limited to 'src/gallium/auxiliary/tgsi/tgsi_text.c')
-rw-r--r--src/gallium/auxiliary/tgsi/tgsi_text.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/auxiliary/tgsi/tgsi_text.c b/src/gallium/auxiliary/tgsi/tgsi_text.c
index 9454563361e..1e822fbbea1 100644
--- a/src/gallium/auxiliary/tgsi/tgsi_text.c
+++ b/src/gallium/auxiliary/tgsi/tgsi_text.c
@@ -1023,7 +1023,7 @@ static boolean parse_immediate( struct translate_ctx *ctx )
ctx->cur++;
imm = tgsi_default_full_immediate();
- imm.Immediate.Size += 4;
+ imm.Immediate.NrTokens += 4;
imm.Immediate.DataType = TGSI_IMM_FLOAT32;
imm.u.Pointer = values;