Paul Gofman : d3dcompiler: Use stricmp() instead of _strnicmp(..., -1).
Alexandre Julliard
julliard at winehq.org
Fri Mar 27 16:14:38 CDT 2020
Module: wine
Branch: master
Commit: 2c8c06054e1497cd1be108005b0c6c538b6d3eee
URL: https://source.winehq.org/git/wine.git/?a=commit;h=2c8c06054e1497cd1be108005b0c6c538b6d3eee
Author: Paul Gofman <gofmanp at gmail.com>
Date: Fri Mar 27 12:50:38 2020 +0300
d3dcompiler: Use stricmp() instead of _strnicmp(..., -1).
Signed-off-by: Paul Gofman <gofmanp at gmail.com>
Signed-off-by: Matteo Bruni <mbruni at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/d3dcompiler_43/reflection.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/dlls/d3dcompiler_43/reflection.c b/dlls/d3dcompiler_43/reflection.c
index 820e5c239f..b29db47c71 100644
--- a/dlls/d3dcompiler_43/reflection.c
+++ b/dlls/d3dcompiler_43/reflection.c
@@ -1674,13 +1674,13 @@ static HRESULT d3dcompiler_parse_signature(struct d3dcompiler_shader_signature *
if (d[i].Register == 0xffffffff)
{
- if (!_strnicmp(d[i].SemanticName, "sv_depth", -1))
+ if (!stricmp(d[i].SemanticName, "sv_depth"))
d[i].SystemValueType = D3D_NAME_DEPTH;
- else if (!_strnicmp(d[i].SemanticName, "sv_coverage", -1))
+ else if (!stricmp(d[i].SemanticName, "sv_coverage"))
d[i].SystemValueType = D3D_NAME_COVERAGE;
- else if (!_strnicmp(d[i].SemanticName, "sv_depthgreaterequal", -1))
+ else if (!stricmp(d[i].SemanticName, "sv_depthgreaterequal"))
d[i].SystemValueType = D3D_NAME_DEPTH_GREATER_EQUAL;
- else if (!_strnicmp(d[i].SemanticName, "sv_depthlessequal", -1))
+ else if (!stricmp(d[i].SemanticName, "sv_depthlessequal"))
d[i].SystemValueType = D3D_NAME_DEPTH_LESS_EQUAL;
}
else
More information about the wine-cvs
mailing list