d3dx11: Add D3DX11CreateTextureFromMemory stub.

Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Alistair Leslie-Hughes 2016-08-16 05:47:15 +00:00 committed by Alexandre Julliard
parent 51afeca5aa
commit 77568fd032
3 changed files with 12 additions and 2 deletions

View File

@ -22,7 +22,7 @@
@ stub D3DX11CreateShaderResourceViewFromResourceW @ stub D3DX11CreateShaderResourceViewFromResourceW
@ stub D3DX11CreateTextureFromFileA @ stub D3DX11CreateTextureFromFileA
@ stub D3DX11CreateTextureFromFileW @ stub D3DX11CreateTextureFromFileW
@ stub D3DX11CreateTextureFromMemory @ stdcall D3DX11CreateTextureFromMemory(ptr ptr long ptr ptr ptr ptr)
@ stub D3DX11CreateTextureFromResourceA @ stub D3DX11CreateTextureFromResourceA
@ stub D3DX11CreateTextureFromResourceW @ stub D3DX11CreateTextureFromResourceW
@ stub D3DX11CreateThreadPump @ stub D3DX11CreateThreadPump

View File

@ -65,3 +65,13 @@ HRESULT WINAPI D3DX11CompileFromFileW(const WCHAR *filename, const D3D10_SHADER_
return E_NOTIMPL; 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)
{
FIXME("device %p, data %p, data_size %lu, load_info %p, pump %p, texture %p, hresult %p stub.\n",
device, data, data_size, load_info, pump, texture, hresult);
return E_NOTIMPL;
}

View File

@ -22,7 +22,7 @@
@ stub D3DX11CreateShaderResourceViewFromResourceW @ stub D3DX11CreateShaderResourceViewFromResourceW
@ stub D3DX11CreateTextureFromFileA @ stub D3DX11CreateTextureFromFileA
@ stub D3DX11CreateTextureFromFileW @ stub D3DX11CreateTextureFromFileW
@ stub D3DX11CreateTextureFromMemory @ stdcall D3DX11CreateTextureFromMemory(ptr ptr long ptr ptr ptr ptr)
@ stub D3DX11CreateTextureFromResourceA @ stub D3DX11CreateTextureFromResourceA
@ stub D3DX11CreateTextureFromResourceW @ stub D3DX11CreateTextureFromResourceW
@ stub D3DX11CreateThreadPump @ stub D3DX11CreateThreadPump