mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-03-15 19:20:34 +01:00
added cast for MSVC
This commit is contained in:
parent
c1abd758c5
commit
bc49529874
1 changed files with 1 additions and 1 deletions
|
|
@ -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.Pointer = value;
|
||||
immed.u.Pointer = (void *) value;
|
||||
ctx->emit_immediate(ctx, &immed);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue