mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-30 04:13:33 +00:00
[WINESYNC] d3dx9: Don't use strcasecmp.
Signed-off-by: Piotr Caban <[email protected]> Signed-off-by: Matteo Bruni <[email protected]> Signed-off-by: Matteo Bruni <[email protected]> Signed-off-by: Alexandre Julliard <[email protected]> wine commit id 5c5a8ae23ff7fe9c103de4e3dfce06bf1b8778c1 by Piotr Caban <[email protected]>
This commit is contained in:
@@ -28,6 +28,7 @@
|
||||
|
||||
#include "d3dx9_private.h"
|
||||
#include "d3dcompiler.h"
|
||||
#include "winternl.h"
|
||||
#endif /* __REACTOS__ */
|
||||
|
||||
/* Constants for special INT/FLOAT conversation */
|
||||
@@ -2028,7 +2029,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);
|
||||
@@ -2051,7 +2052,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);
|
||||
|
||||
@@ -21,6 +21,8 @@
|
||||
#include <wingdi.h>
|
||||
#include <winuser.h>
|
||||
|
||||
#include <wine/winternl.h>
|
||||
|
||||
#include <wine/list.h>
|
||||
#include <wine/unicode.h>
|
||||
|
||||
|
||||
@@ -15,4 +15,4 @@ files: {include/d3dx9.h: sdk/include/dxsdk/d3dx9.h, include/d3dx9anim.h: sdk/inc
|
||||
include/d3dx9mesh.h: sdk/include/dxsdk/d3dx9mesh.h, include/d3dx9of.h: sdk/include/dxsdk/d3dx9of.h,
|
||||
include/d3dx9shader.h: sdk/include/dxsdk/d3dx9shader.h, include/d3dx9shape.h: sdk/include/dxsdk/d3dx9shape.h,
|
||||
include/d3dx9tex.h: sdk/include/dxsdk/d3dx9tex.h, include/d3dx9xof.h: sdk/include/dxsdk/d3dx9xof.h}
|
||||
tags: {wine: 8bed853c4380ebf86220ffe2fd89d48d98a90921}
|
||||
tags: {wine: 5c5a8ae23ff7fe9c103de4e3dfce06bf1b8778c1}
|
||||
|
||||
Reference in New Issue
Block a user