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

This commit is contained in:
Andrew Talbot 2011-11-03 23:03:18 +00:00 committed by Alexandre Julliard
parent 232bf4cf31
commit a89584415b
1 changed files with 2 additions and 2 deletions

View File

@ -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; int_skip = ~shader->reg_maps.integer_constants | shader->reg_maps.local_int_consts;
if (int_skip == 0xffff || gl_info->supported[NV_FRAGMENT_PROGRAM_OPTION]) 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; return;
} }
@ -4561,7 +4561,7 @@ static void find_arb_vs_compile_args(const struct wined3d_state *state,
/* This is about flow control, not clipping. */ /* This is about flow control, not clipping. */
if (int_skip == 0xffff || gl_info->supported[NV_VERTEX_PROGRAM2_OPTION]) 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; return;
} }