d3dx9: Remove case for annotation in get_parameter_element_by_name().
Elements or struct members can't have annotations. 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
7aa4a25bd3
commit
ec199c9e0e
|
@ -830,9 +830,6 @@ static struct d3dx_parameter *get_parameter_element_by_name(struct d3dx_paramete
|
||||||
case '.':
|
case '.':
|
||||||
return get_parameter_by_name(NULL, temp_parameter, part);
|
return get_parameter_by_name(NULL, temp_parameter, part);
|
||||||
|
|
||||||
case '@':
|
|
||||||
return get_annotation_by_name(temp_parameter->annotation_count, temp_parameter->annotations, part);
|
|
||||||
|
|
||||||
case '\0':
|
case '\0':
|
||||||
TRACE("Returning parameter %p\n", temp_parameter);
|
TRACE("Returning parameter %p\n", temp_parameter);
|
||||||
return temp_parameter;
|
return temp_parameter;
|
||||||
|
|
Loading…
Reference in New Issue