Commit 2c8c0605 authored by Paul Gofman's avatar Paul Gofman Committed by Alexandre Julliard

d3dcompiler: Use stricmp() instead of _strnicmp(..., -1).

parent 585d4fb7
...@@ -1674,13 +1674,13 @@ static HRESULT d3dcompiler_parse_signature(struct d3dcompiler_shader_signature * ...@@ -1674,13 +1674,13 @@ static HRESULT d3dcompiler_parse_signature(struct d3dcompiler_shader_signature *
if (d[i].Register == 0xffffffff) 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; 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; 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; 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; d[i].SystemValueType = D3D_NAME_DEPTH_LESS_EQUAL;
} }
else else
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment