[WINESYNC] include: Fix D3DXF_FILELOADMEMORY definition.

Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>

wine commit id c9c74b8b10116c3f0b3bd4d08724963245499a92 by Matteo Bruni <mbruni@codeweavers.com>
This commit is contained in:
winesync 2020-09-21 22:50:19 +02:00 committed by Jérôme Gardou
parent 9add999c51
commit 256cd6a4cb
3 changed files with 3 additions and 3 deletions

View file

@ -592,7 +592,7 @@ static HRESULT WINAPI d3dx9_file_CreateEnumObject(ID3DXFile *iface, const void *
{
D3DXF_FILELOADMEMORY *memory = (D3DXF_FILELOADMEMORY*)source;
dxfile_memory.lpMemory = memory->lpMemory;
dxfile_memory.lpMemory = (void *)memory->lpMemory;
dxfile_memory.dSize = memory->dSize;
dxfile_source = &dxfile_memory;
dxfile_options = DXFILELOAD_FROMMEMORY;

View file

@ -49,7 +49,7 @@ typedef struct _D3DXF_FILELOADRESOURCE
typedef struct _D3DXF_FILELOADMEMORY
{
void *lpMemory;
const void *lpMemory;
SIZE_T dSize;
} D3DXF_FILELOADMEMORY;

View file

@ -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: cd3e5020e4c87f49eb042fff9f607b6d745a5d55}
tags: {wine: c9c74b8b10116c3f0b3bd4d08724963245499a92}