mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2024-09-13 09:16:14 -07:00
vkd3d-shader/dxil: Use strcmp() to find function names.
Function names are case-sensitive.
This commit is contained in:
parent
4dec25cbde
commit
1cca18a228
Notes:
Alexandre Julliard
2024-01-23 23:04:48 +01:00
Approved-by: Giovanni Mascellani (@giomasce) Approved-by: Henri Verbeet (@hverbeet) Approved-by: Alexandre Julliard (@julliard) Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/591
@ -6954,7 +6954,7 @@ static struct sm6_function *sm6_parser_get_function(const struct sm6_parser *sm6
|
||||
{
|
||||
size_t i;
|
||||
for (i = 0; i < sm6->function_count; ++i)
|
||||
if (!ascii_strcasecmp(sm6->functions[i].declaration->u.function.name, name))
|
||||
if (!strcmp(sm6->functions[i].declaration->u.function.name, name))
|
||||
return &sm6->functions[i];
|
||||
return NULL;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user