d3dx10: Add D3DX10CreateTextureFromMemory stub.
Signed-off-by: Andrey Gusev <andrey.goosev@gmail.com> Signed-off-by: Matteo Bruni <mbruni@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
e7d6bba22e
commit
7aadb08212
|
@ -44,7 +44,7 @@
|
|||
@ stub D3DX10CreateSprite(ptr long ptr)
|
||||
@ stub D3DX10CreateTextureFromFileA(ptr str ptr ptr ptr ptr)
|
||||
@ stub D3DX10CreateTextureFromFileW(ptr wstr ptr ptr ptr ptr)
|
||||
@ stub D3DX10CreateTextureFromMemory(ptr ptr long ptr ptr ptr ptr)
|
||||
@ stdcall D3DX10CreateTextureFromMemory(ptr ptr long ptr ptr ptr ptr)
|
||||
@ stub D3DX10CreateTextureFromResourceA(ptr long str ptr ptr ptr ptr)
|
||||
@ stub D3DX10CreateTextureFromResourceW(ptr long wstr ptr ptr ptr ptr)
|
||||
@ stdcall D3DX10FilterTexture(ptr long long)
|
||||
|
|
|
@ -187,6 +187,17 @@ HRESULT WINAPI D3DX10CreateDevice(IDXGIAdapter *adapter, D3D10_DRIVER_TYPE drive
|
|||
return hr;
|
||||
}
|
||||
|
||||
HRESULT WINAPI D3DX10CreateTextureFromMemory(ID3D10Device *device, const void *src_data,
|
||||
SIZE_T src_data_size, D3DX10_IMAGE_LOAD_INFO *loadinfo, ID3DX10ThreadPump *pump,
|
||||
ID3D10Resource **texture, HRESULT *hresult)
|
||||
{
|
||||
FIXME("device %p, src_data %p, src_data_size %lu, loadinfo %p, pump %p, texture %p, "
|
||||
"hresult %p, stub!\n",
|
||||
device, src_data, src_data_size, loadinfo, pump, texture, hresult);
|
||||
|
||||
return E_NOTIMPL;
|
||||
}
|
||||
|
||||
HRESULT WINAPI D3DX10FilterTexture(ID3D10Resource *texture, UINT src_level, UINT filter)
|
||||
{
|
||||
FIXME("texture %p, src_level %u, filter %#x stub!\n", texture, src_level, filter);
|
||||
|
|
Loading…
Reference in New Issue