include: Fix D3DXF_FILELOADMEMORY definition.
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
0dbca5803b
commit
c9c74b8b10
|
@ -588,7 +588,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;
|
||||
|
|
|
@ -49,7 +49,7 @@ typedef struct _D3DXF_FILELOADRESOURCE
|
|||
|
||||
typedef struct _D3DXF_FILELOADMEMORY
|
||||
{
|
||||
void *lpMemory;
|
||||
const void *lpMemory;
|
||||
SIZE_T dSize;
|
||||
} D3DXF_FILELOADMEMORY;
|
||||
|
||||
|
|
Loading…
Reference in New Issue