d3dx9: Don't use strcasecmp.
Signed-off-by: Piotr Caban <piotr@codeweavers.com> Signed-off-by: Matteo Bruni <mbruni@codeweavers.com> Signed-off-by: Matteo Bruni <mbruni@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
23b9b1ceb6
commit
5c5a8ae23f
|
@ -25,6 +25,7 @@
|
|||
|
||||
#include "d3dx9_private.h"
|
||||
#include "d3dcompiler.h"
|
||||
#include "winternl.h"
|
||||
|
||||
/* Constants for special INT/FLOAT conversation */
|
||||
#define INT_FLOAT_MULTI 255.0f
|
||||
|
@ -2024,7 +2025,7 @@ static D3DXHANDLE WINAPI d3dx_effect_GetParameterBySemantic(ID3DXEffect *iface,
|
|||
continue;
|
||||
}
|
||||
|
||||
if (!strcasecmp(temp_param->semantic, semantic))
|
||||
if (!_strnicmp(temp_param->semantic, semantic, -1))
|
||||
{
|
||||
TRACE("Returning parameter %p\n", temp_param);
|
||||
return get_parameter_handle(temp_param);
|
||||
|
@ -2047,7 +2048,7 @@ static D3DXHANDLE WINAPI d3dx_effect_GetParameterBySemantic(ID3DXEffect *iface,
|
|||
continue;
|
||||
}
|
||||
|
||||
if (!strcasecmp(temp_param->semantic, semantic))
|
||||
if (!_strnicmp(temp_param->semantic, semantic, -1))
|
||||
{
|
||||
TRACE("Returning parameter %p\n", temp_param);
|
||||
return get_parameter_handle(temp_param);
|
||||
|
|
Loading…
Reference in New Issue