Paul Gofman : d3dx9: Remove unused parameter 'effect' from d3dx9_get_param_value_ptr().
Alexandre Julliard
julliard at winehq.org
Fri Apr 28 12:44:30 CDT 2017
Module: wine
Branch: master
Commit: f0e9dea59c320987124fa8ab8456ce27c5731e1c
URL: http://source.winehq.org/git/wine.git/?a=commit;h=f0e9dea59c320987124fa8ab8456ce27c5731e1c
Author: Paul Gofman <gofmanp at gmail.com>
Date: Thu Apr 27 14:05:51 2017 +0300
d3dx9: Remove unused parameter 'effect' from d3dx9_get_param_value_ptr().
Signed-off-by: Paul Gofman <gofmanp at gmail.com>
Signed-off-by: Matteo Bruni <mbruni at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/d3dx9_36/effect.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/dlls/d3dx9_36/effect.c b/dlls/d3dx9_36/effect.c
index c2fb1d0..a55c20b 100644
--- a/dlls/d3dx9_36/effect.c
+++ b/dlls/d3dx9_36/effect.c
@@ -2578,8 +2578,8 @@ static HRESULT d3dx9_base_effect_set_array_range(struct d3dx9_base_effect *base,
return E_NOTIMPL;
}
-static HRESULT d3dx9_get_param_value_ptr(struct ID3DXEffectImpl *effect, struct d3dx_pass *pass,
- struct d3dx_state *state, void **param_value, struct d3dx_parameter **out_param,
+static HRESULT d3dx9_get_param_value_ptr(struct d3dx_pass *pass, struct d3dx_state *state,
+ void **param_value, struct d3dx_parameter **out_param,
BOOL update_all, BOOL *param_dirty)
{
struct d3dx_parameter *param = &state->parameter;
@@ -2881,7 +2881,7 @@ static HRESULT d3dx9_apply_state(struct ID3DXEffectImpl *effect, struct d3dx_pas
TRACE("operation %u, index %u, type %u.\n", state->operation, state->index, state->type);
- if (FAILED(hr = d3dx9_get_param_value_ptr(effect, pass, state, ¶m_value, ¶m,
+ if (FAILED(hr = d3dx9_get_param_value_ptr(pass, state, ¶m_value, ¶m,
update_all, ¶m_dirty)))
{
if (hr == E_FAIL)
More information about the wine-cvs
mailing list