d3dx9: Don't call get_parameter_by_name() from get_valid_parameter() if D3DXFX_LARGEADDRESSAWARE flag is set.
Signed-off-by: Paul Gofman <gofmanp@gmail.com> Signed-off-by: Matteo Bruni <mbruni@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
a52a2d1aab
commit
1817f63a51
|
@ -503,7 +503,7 @@ static struct d3dx_parameter *get_valid_parameter(struct d3dx9_base_effect *base
|
|||
sizeof(parameter_magic_string)))
|
||||
return handle_param;
|
||||
|
||||
return get_parameter_by_name(base, NULL, parameter);
|
||||
return base->flags & D3DXFX_LARGEADDRESSAWARE ? NULL : get_parameter_by_name(base, NULL, parameter);
|
||||
}
|
||||
|
||||
static void free_state(struct d3dx_state *state)
|
||||
|
|
Loading…
Reference in New Issue