Commit a8958441 authored by Andrew Talbot's avatar Andrew Talbot Committed by Alexandre Julliard

wined3d: Remove unneeded address-of operators from array names.

parent 232bf4cf
......@@ -4485,7 +4485,7 @@ static void find_arb_ps_compile_args(const struct wined3d_state *state,
int_skip = ~shader->reg_maps.integer_constants | shader->reg_maps.local_int_consts;
if (int_skip == 0xffff || gl_info->supported[NV_FRAGMENT_PROGRAM_OPTION])
{
memset(&args->loop_ctrl, 0, sizeof(args->loop_ctrl));
memset(args->loop_ctrl, 0, sizeof(args->loop_ctrl));
return;
}
......@@ -4561,7 +4561,7 @@ static void find_arb_vs_compile_args(const struct wined3d_state *state,
/* This is about flow control, not clipping. */
if (int_skip == 0xffff || gl_info->supported[NV_VERTEX_PROGRAM2_OPTION])
{
memset(&args->loop_ctrl, 0, sizeof(args->loop_ctrl));
memset(args->loop_ctrl, 0, sizeof(args->loop_ctrl));
return;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment