Commit ec199c9e authored by Paul Gofman's avatar Paul Gofman Committed by Alexandre Julliard

d3dx9: Remove case for annotation in get_parameter_element_by_name().

Elements or struct members can't have annotations. Signed-off-by: 's avatarPaul Gofman <gofmanp@gmail.com> Signed-off-by: 's avatarMatteo Bruni <mbruni@codeweavers.com> Signed-off-by: 's avatarAlexandre Julliard <julliard@winehq.org>
parent 7aa4a25b
......@@ -830,9 +830,6 @@ static struct d3dx_parameter *get_parameter_element_by_name(struct d3dx_paramete
case '.':
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':
TRACE("Returning parameter %p\n", temp_parameter);
return temp_parameter;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment