Andrew Talbot : wined3d: Remove unneeded address-of operators from array names.
Alexandre Julliard
julliard at winehq.org
Fri Nov 4 12:17:34 CDT 2011
Module: wine
Branch: master
Commit: a89584415b29be02921bce0f087734022d7e0d97
URL: http://source.winehq.org/git/wine.git/?a=commit;h=a89584415b29be02921bce0f087734022d7e0d97
Author: Andrew Talbot <andrew.talbot at talbotville.com>
Date: Thu Nov 3 23:03:18 2011 +0000
wined3d: Remove unneeded address-of operators from array names.
---
dlls/wined3d/arb_program_shader.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/wined3d/arb_program_shader.c b/dlls/wined3d/arb_program_shader.c
index ffcc2a8..d32b5f1 100644
--- a/dlls/wined3d/arb_program_shader.c
+++ b/dlls/wined3d/arb_program_shader.c
@@ -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;
}
More information about the wine-cvs
mailing list