Commit 5c5a8ae2 authored by Piotr Caban's avatar Piotr Caban Committed by Alexandre Julliard

d3dx9: Don't use strcasecmp.

parent 23b9b1ce
......@@ -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);
......
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