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:
Paul Gofman 2017-07-19 16:43:04 +03:00 committed by Alexandre Julliard
parent 7aa4a25bd3
commit ec199c9e0e
1 changed files with 0 additions and 3 deletions

View File

@ -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;