d3dx11: Add D3DX11CreateTextureFromFileA/W 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
f762097f50
commit
8dedf244f6
|
@ -20,8 +20,8 @@
|
|||
@ stdcall D3DX11CreateShaderResourceViewFromMemory(ptr ptr long ptr ptr ptr ptr) d3dx11_43.D3DX11CreateShaderResourceViewFromMemory
|
||||
@ stub D3DX11CreateShaderResourceViewFromResourceA
|
||||
@ stub D3DX11CreateShaderResourceViewFromResourceW
|
||||
@ stub D3DX11CreateTextureFromFileA
|
||||
@ stub D3DX11CreateTextureFromFileW
|
||||
@ stdcall D3DX11CreateTextureFromFileA(ptr str ptr ptr ptr ptr) d3dx11_43.D3DX11CreateTextureFromFileA
|
||||
@ stdcall D3DX11CreateTextureFromFileW(ptr wstr ptr ptr ptr ptr) d3dx11_43.D3DX11CreateTextureFromFileW
|
||||
@ stdcall D3DX11CreateTextureFromMemory(ptr ptr long ptr ptr ptr ptr)
|
||||
@ stub D3DX11CreateTextureFromResourceA
|
||||
@ stub D3DX11CreateTextureFromResourceW
|
||||
|
|
|
@ -20,8 +20,8 @@
|
|||
@ stub D3DX11CreateShaderResourceViewFromMemory(ptr ptr long ptr ptr ptr ptr)
|
||||
@ stub D3DX11CreateShaderResourceViewFromResourceA
|
||||
@ stub D3DX11CreateShaderResourceViewFromResourceW
|
||||
@ stub D3DX11CreateTextureFromFileA
|
||||
@ stub D3DX11CreateTextureFromFileW
|
||||
@ stdcall D3DX11CreateTextureFromFileA(ptr str ptr ptr ptr ptr)
|
||||
@ stdcall D3DX11CreateTextureFromFileW(ptr wstr ptr ptr ptr ptr)
|
||||
@ stdcall D3DX11CreateTextureFromMemory(ptr ptr long ptr ptr ptr ptr)
|
||||
@ stub D3DX11CreateTextureFromResourceA
|
||||
@ stub D3DX11CreateTextureFromResourceW
|
||||
|
|
|
@ -35,6 +35,26 @@ HRESULT WINAPI D3DX11CreateShaderResourceViewFromMemory(ID3D11Device *device, co
|
|||
return E_NOTIMPL;
|
||||
}
|
||||
|
||||
HRESULT WINAPI D3DX11CreateTextureFromFileA(ID3D11Device *device, const char *filename,
|
||||
D3DX11_IMAGE_LOAD_INFO *load_info, ID3DX11ThreadPump *pump, ID3D11Resource **texture,
|
||||
HRESULT *hresult)
|
||||
{
|
||||
FIXME("device %p, filename %s, load_info %p, pump %p, texture %p, hresult %p stub.\n",
|
||||
device, debugstr_a(filename), load_info, pump, texture, hresult);
|
||||
|
||||
return E_NOTIMPL;
|
||||
}
|
||||
|
||||
HRESULT WINAPI D3DX11CreateTextureFromFileW(ID3D11Device *device, const WCHAR *filename,
|
||||
D3DX11_IMAGE_LOAD_INFO *load_info, ID3DX11ThreadPump *pump, ID3D11Resource **texture,
|
||||
HRESULT *hresult)
|
||||
{
|
||||
FIXME("device %p, filename %s, load_info %p, pump %p, texture %p, hresult %p stub.\n",
|
||||
device, debugstr_w(filename), load_info, pump, texture, hresult);
|
||||
|
||||
return E_NOTIMPL;
|
||||
}
|
||||
|
||||
HRESULT WINAPI D3DX11CreateTextureFromMemory(ID3D11Device *device, const void *data,
|
||||
SIZE_T data_size, D3DX11_IMAGE_LOAD_INFO *load_info, ID3DX11ThreadPump *pump,
|
||||
ID3D11Resource **texture, HRESULT *hresult)
|
||||
|
|
|
@ -111,6 +111,14 @@ HRESULT WINAPI D3DX11CreateShaderResourceViewFromMemory(ID3D11Device *device, co
|
|||
SIZE_T data_size, D3DX11_IMAGE_LOAD_INFO *load_info, ID3DX11ThreadPump *pump,
|
||||
ID3D11ShaderResourceView **view, HRESULT *hresult);
|
||||
|
||||
HRESULT WINAPI D3DX11CreateTextureFromFileA(ID3D11Device *device, const char *filename,
|
||||
D3DX11_IMAGE_LOAD_INFO *load_info, ID3DX11ThreadPump *pump, ID3D11Resource **texture,
|
||||
HRESULT *hresult);
|
||||
|
||||
HRESULT WINAPI D3DX11CreateTextureFromFileW(ID3D11Device *device, const WCHAR *filename,
|
||||
D3DX11_IMAGE_LOAD_INFO *load_info, ID3DX11ThreadPump *pump, ID3D11Resource **texture,
|
||||
HRESULT *hresult);
|
||||
|
||||
HRESULT WINAPI D3DX11CreateTextureFromMemory(ID3D11Device *device, const void *src_data, SIZE_T src_data_size,
|
||||
D3DX11_IMAGE_LOAD_INFO *loadinfo, ID3DX11ThreadPump *pump, ID3D11Resource **texture, HRESULT *hresult);
|
||||
|
||||
|
|
Loading…
Reference in New Issue