Module: vkd3d Branch: master Commit: 1cca18a22878b398ba693bdc19967f8db05d2581 URL: https://gitlab.winehq.org/wine/vkd3d/-/commit/1cca18a22878b398ba693bdc19967f...
Author: Conor McCarthy cmccarthy@codeweavers.com Date: Tue Jan 23 15:18:28 2024 +1000
vkd3d-shader/dxil: Use strcmp() to find function names.
Function names are case-sensitive.
---
libs/vkd3d-shader/dxil.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libs/vkd3d-shader/dxil.c b/libs/vkd3d-shader/dxil.c index 0f94e799..b71d04b1 100644 --- a/libs/vkd3d-shader/dxil.c +++ b/libs/vkd3d-shader/dxil.c @@ -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; }