Module: vkd3d Branch: master Commit: 367a06d748db377e699c49fde616bf32b7a386d1 URL: https://gitlab.winehq.org/wine/vkd3d/-/commit/367a06d748db377e699c49fde616bf...
Author: Conor McCarthy cmccarthy@codeweavers.com Date: Tue Jan 23 15:22:19 2024 +1000
vkd3d-shader/dxil: Use strcmp() to find the handle type.
We use strcmp() on the same type name elsewhere, and case-insensitive matching does not seem necessary.
---
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 b71d04b1..6b38f028 100644 --- a/libs/vkd3d-shader/dxil.c +++ b/libs/vkd3d-shader/dxil.c @@ -1634,7 +1634,7 @@ static enum vkd3d_result sm6_parser_type_table_init(struct sm6_parser *sm6) break; }
- if (!ascii_strcasecmp(struct_name, "dx.types.Handle")) + if (!strcmp(struct_name, "dx.types.Handle")) sm6->handle_type = type;
type->u.struc->name = struct_name;