Commit 6b6db0dc authored by Christian Costa's avatar Christian Costa Committed by Alexandre Julliard

d3dx9_36: Improve some stubs.

parent 82d70540
...@@ -142,7 +142,7 @@ HRESULT WINAPI D3DXAssembleShader(LPCSTR data, ...@@ -142,7 +142,7 @@ HRESULT WINAPI D3DXAssembleShader(LPCSTR data,
LPD3DXBUFFER* shader, LPD3DXBUFFER* shader,
LPD3DXBUFFER* error_messages) 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; return D3DERR_INVALIDCALL;
} }
...@@ -177,7 +177,7 @@ HRESULT WINAPI D3DXAssembleShaderFromFileW(LPCWSTR filename, ...@@ -177,7 +177,7 @@ HRESULT WINAPI D3DXAssembleShaderFromFileW(LPCWSTR filename,
LPD3DXBUFFER* shader, LPD3DXBUFFER* shader,
LPD3DXBUFFER* error_messages) 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; return D3DERR_INVALIDCALL;
} }
......
...@@ -47,7 +47,7 @@ WINE_DEFAULT_DEBUG_CHANNEL(d3dx); ...@@ -47,7 +47,7 @@ WINE_DEFAULT_DEBUG_CHANNEL(d3dx);
*/ */
HRESULT WINAPI D3DXGetImageInfoFromFileInMemory(LPCVOID data, UINT datasize, D3DXIMAGE_INFO *info) 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 && !info) return D3D_OK;
if( !data || !datasize ) return D3DERR_INVALIDCALL; if( !data || !datasize ) return D3DERR_INVALIDCALL;
...@@ -193,7 +193,9 @@ HRESULT WINAPI D3DXLoadSurfaceFromFileInMemory(LPDIRECT3DSURFACE9 pDestSurface, ...@@ -193,7 +193,9 @@ HRESULT WINAPI D3DXLoadSurfaceFromFileInMemory(LPDIRECT3DSURFACE9 pDestSurface,
D3DCOLOR Colorkey, D3DCOLOR Colorkey,
D3DXIMAGE_INFO *pSrcInfo) 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; if( !pDestSurface || !pSrcData | !SrcDataSize ) return D3DERR_INVALIDCALL;
return E_NOTIMPL; return E_NOTIMPL;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment