d3dx10: Add stubs for D3DX10CreateTextureFromResource{A, W}.
Signed-off-by: Ziqing Hui <zhui@codeweavers.com> Signed-off-by: Matteo Bruni <mbruni@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
6623915b61
commit
5636088871
3 changed files with 24 additions and 2 deletions
|
@ -45,8 +45,8 @@
|
|||
@ stdcall D3DX10CreateTextureFromFileA(ptr str ptr ptr ptr ptr)
|
||||
@ stdcall D3DX10CreateTextureFromFileW(ptr wstr 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 D3DX10CreateTextureFromResourceA(ptr long str ptr ptr ptr ptr)
|
||||
@ stdcall D3DX10CreateTextureFromResourceW(ptr long wstr ptr ptr ptr ptr)
|
||||
@ stdcall D3DX10FilterTexture(ptr long long)
|
||||
@ stdcall D3DX10GetFeatureLevel1(ptr ptr)
|
||||
@ stdcall D3DX10GetImageInfoFromFileA(str ptr ptr ptr)
|
||||
|
|
|
@ -589,6 +589,22 @@ HRESULT WINAPI D3DX10CreateTextureFromFileW(ID3D10Device *device, const WCHAR *s
|
|||
return E_NOTIMPL;
|
||||
}
|
||||
|
||||
HRESULT WINAPI D3DX10CreateTextureFromResourceA(ID3D10Device *device, HMODULE module, const char *resource,
|
||||
D3DX10_IMAGE_LOAD_INFO *load_info, ID3DX10ThreadPump *pump, ID3D10Resource **texture, HRESULT *hresult)
|
||||
{
|
||||
FIXME("device %p, module %p, resource %s, load_info %p, pump %p, texture %p, hresult %p stub!\n",
|
||||
device, module, debugstr_a(resource), load_info, pump, texture, hresult);
|
||||
return E_NOTIMPL;
|
||||
}
|
||||
|
||||
HRESULT WINAPI D3DX10CreateTextureFromResourceW(ID3D10Device *device, HMODULE module, const WCHAR *resource,
|
||||
D3DX10_IMAGE_LOAD_INFO *load_info, ID3DX10ThreadPump *pump, ID3D10Resource **texture, HRESULT *hresult)
|
||||
{
|
||||
FIXME("device %p, module %p, resource %s, load_info %p, pump %p, texture %p, hresult %p stub!\n",
|
||||
device, module, debugstr_w(resource), load_info, pump, texture, hresult);
|
||||
return E_NOTIMPL;
|
||||
}
|
||||
|
||||
HRESULT WINAPI D3DX10CreateTextureFromMemory(ID3D10Device *device, const void *src_data, SIZE_T src_data_size,
|
||||
D3DX10_IMAGE_LOAD_INFO *load_info, ID3DX10ThreadPump *pump, ID3D10Resource **texture, HRESULT *hresult)
|
||||
{
|
||||
|
|
|
@ -162,6 +162,12 @@ HRESULT WINAPI D3DX10CreateTextureFromFileW(ID3D10Device *device, const WCHAR *s
|
|||
D3DX10_IMAGE_LOAD_INFO *load_info, ID3DX10ThreadPump *pump, ID3D10Resource **texture, HRESULT *hresult);
|
||||
#define D3DX10CreateTextureFromFile WINELIB_NAME_AW(D3DX10CreateTextureFromFile)
|
||||
|
||||
HRESULT WINAPI D3DX10CreateTextureFromResourceA(ID3D10Device *device, HMODULE module, const char *resource,
|
||||
D3DX10_IMAGE_LOAD_INFO *load_info, ID3DX10ThreadPump *pump, ID3D10Resource **texture, HRESULT *hresult);
|
||||
HRESULT WINAPI D3DX10CreateTextureFromResourceW(ID3D10Device *device, HMODULE module, const WCHAR *resource,
|
||||
D3DX10_IMAGE_LOAD_INFO *load_info, ID3DX10ThreadPump *pump, ID3D10Resource **texture, HRESULT *hresult);
|
||||
#define D3DX10CreateTextureFromResource WINELIB_NAME_AW(D3DX10CreateTextureFromResource)
|
||||
|
||||
HRESULT WINAPI D3DX10LoadTextureFromTexture(ID3D10Resource *src_texture, D3DX10_TEXTURE_LOAD_INFO *load_info,
|
||||
ID3D10Resource *dst_texture);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue