vkd3d-shader/dxil: Use strcmp() to find function names.

Function names are case-sensitive.
This commit is contained in:
Conor McCarthy 2024-01-23 15:18:28 +10:00 committed by Alexandre Julliard
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

View File

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