d3dcompiler: Avoid LPCVOID.
This commit is contained in:
parent
36190dd5e6
commit
1046aa6e48
dlls/d3dcompiler_43
|
@ -193,11 +193,8 @@ static void *wpp_open_mem(const char *filename, int type)
|
||||||
if(!desc)
|
if(!desc)
|
||||||
return NULL;
|
return NULL;
|
||||||
|
|
||||||
hr = ID3DInclude_Open(current_include,
|
if (FAILED(hr = ID3DInclude_Open(current_include, type ? D3D_INCLUDE_LOCAL : D3D_INCLUDE_SYSTEM,
|
||||||
type ? D3D_INCLUDE_LOCAL : D3D_INCLUDE_SYSTEM,
|
filename, parent_include, (const void **)&desc->buffer, &desc->size)))
|
||||||
filename, parent_include, (LPCVOID *)&desc->buffer,
|
|
||||||
&desc->size);
|
|
||||||
if(FAILED(hr))
|
|
||||||
{
|
{
|
||||||
HeapFree(GetProcessHeap(), 0, desc);
|
HeapFree(GetProcessHeap(), 0, desc);
|
||||||
return NULL;
|
return NULL;
|
||||||
|
|
Loading…
Reference in New Issue