mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2025-04-13 05:43:18 -07:00
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.
This commit is contained in:
committed by
Alexandre Julliard
parent
1cca18a228
commit
367a06d748
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
@ -1634,7 +1634,7 @@ static enum vkd3d_result sm6_parser_type_table_init(struct sm6_parser *sm6)
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!ascii_strcasecmp(struct_name, "dx.types.Handle"))
|
if (!strcmp(struct_name, "dx.types.Handle"))
|
||||||
sm6->handle_type = type;
|
sm6->handle_type = type;
|
||||||
|
|
||||||
type->u.struc->name = struct_name;
|
type->u.struc->name = struct_name;
|
||||||
|
Reference in New Issue
Block a user