aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/draw
diff options
context:
space:
mode:
authorKeith Whitwell <[email protected]>2008-05-01 15:30:50 +0100
committerKeith Whitwell <[email protected]>2008-05-01 15:37:30 +0100
commit6980823da9120d8d8533f7a78eac2d63dece430f (patch)
treefe989cf043d6fd5229f6ba99632b74a9a708b858 /src/gallium/auxiliary/draw
parent47aa416821b69d3afa33c79ec8cb8499688a0e8e (diff)
draw: avoid aliasing warning
Diffstat (limited to 'src/gallium/auxiliary/draw')
-rw-r--r--src/gallium/auxiliary/draw/draw_pipe_pstipple.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/auxiliary/draw/draw_pipe_pstipple.c b/src/gallium/auxiliary/draw/draw_pipe_pstipple.c
index c4de9d2698e..54fdcc1a3ba 100644
--- a/src/gallium/auxiliary/draw/draw_pipe_pstipple.c
+++ b/src/gallium/auxiliary/draw/draw_pipe_pstipple.c
@@ -256,7 +256,7 @@ pstip_transform_inst(struct tgsi_transform_context *ctx,
uint size = 4;
immed = tgsi_default_full_immediate();
immed.Immediate.Size = 1 + size; /* one for the token itself */
- immed.u.ImmediateFloat32 = (struct tgsi_immediate_float32 *) value;
+ immed.u.Pointer = value;
ctx->emit_immediate(ctx, &immed);
}