Paul Gofman : d3dx9: Remove case for annotation in get_parameter_element_by_name().
Alexandre Julliard
julliard at winehq.org
Tue Aug 8 07:36:37 CDT 2017
Module: wine
Branch: master
Commit: ec199c9e0eaf9af6db04e89da152f4b325c1f41c
URL: http://source.winehq.org/git/wine.git/?a=commit;h=ec199c9e0eaf9af6db04e89da152f4b325c1f41c
Author: Paul Gofman <gofmanp at gmail.com>
Date: Wed Jul 19 16:43:04 2017 +0300
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 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 | 3 ---
1 file changed, 3 deletions(-)
diff --git a/dlls/d3dx9_36/effect.c b/dlls/d3dx9_36/effect.c
index 5361b35..937536a 100644
--- a/dlls/d3dx9_36/effect.c
+++ b/dlls/d3dx9_36/effect.c
@@ -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;
More information about the wine-cvs
mailing list