draw: Fix build -- rename Size to NrTokens.
[mesa.git] / src / gallium / auxiliary / draw / draw_pipe_pstipple.c
index b764d9c518c80b5e7a225436ca82eecd1bb9919c..a0f9716dac2e10df009eda6cc199bd9186cb3658 100644 (file)
@@ -256,7 +256,7 @@ pstip_transform_inst(struct tgsi_transform_context *ctx,
          struct tgsi_full_immediate immed;
          uint size = 4;
          immed = tgsi_default_full_immediate();
-         immed.Immediate.Size = 1 + size; /* one for the token itself */
+         immed.Immediate.NrTokens = 1 + size; /* one for the token itself */
          immed.u.Pointer = (void *) value;
          ctx->emit_immediate(ctx, &immed);
       }