d3dx9_36: Improve some stubs.
This commit is contained in:
parent
82d7054085
commit
6b6db0dcb2
|
@ -142,7 +142,7 @@ HRESULT WINAPI D3DXAssembleShader(LPCSTR data,
|
|||
LPD3DXBUFFER* shader,
|
||||
LPD3DXBUFFER* error_messages)
|
||||
{
|
||||
FIXME("stub\n");
|
||||
FIXME("(%p, %d, %p, %p, %x, %p, %p): stub\n", data, data_len, defines, include, flags, shader, error_messages);
|
||||
return D3DERR_INVALIDCALL;
|
||||
}
|
||||
|
||||
|
@ -177,7 +177,7 @@ HRESULT WINAPI D3DXAssembleShaderFromFileW(LPCWSTR filename,
|
|||
LPD3DXBUFFER* shader,
|
||||
LPD3DXBUFFER* error_messages)
|
||||
{
|
||||
FIXME("stub\n");
|
||||
FIXME("(%s, %p, %p, %x, %p, %p): stub\n", debugstr_w(filename), defines, include, flags, shader, error_messages);
|
||||
return D3DERR_INVALIDCALL;
|
||||
}
|
||||
|
||||
|
|
|
@ -47,7 +47,7 @@ WINE_DEFAULT_DEBUG_CHANNEL(d3dx);
|
|||
*/
|
||||
HRESULT WINAPI D3DXGetImageInfoFromFileInMemory(LPCVOID data, UINT datasize, D3DXIMAGE_INFO *info)
|
||||
{
|
||||
FIXME("stub\n");
|
||||
FIXME("(%p, %d, %p): stub\n", data, datasize, info);
|
||||
|
||||
if(data && datasize && !info) return D3D_OK;
|
||||
if( !data || !datasize ) return D3DERR_INVALIDCALL;
|
||||
|
@ -193,7 +193,9 @@ HRESULT WINAPI D3DXLoadSurfaceFromFileInMemory(LPDIRECT3DSURFACE9 pDestSurface,
|
|||
D3DCOLOR Colorkey,
|
||||
D3DXIMAGE_INFO *pSrcInfo)
|
||||
{
|
||||
FIXME("stub\n");
|
||||
FIXME("(%p, %p, %p, %p, %d, %p, %d, %x, %p): stub\n", pDestSurface, pDestPalette,
|
||||
pDestRect, pSrcData, SrcDataSize, pSrcRect, dwFilter, Colorkey, pSrcInfo);
|
||||
|
||||
if( !pDestSurface || !pSrcData | !SrcDataSize ) return D3DERR_INVALIDCALL;
|
||||
return E_NOTIMPL;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue