d3dx11: Move D3DX11CreateTextureFromMemory to texture.c.
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
0951a1b6db
commit
b814056599
|
@ -65,13 +65,3 @@ 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;
|
|
||||||
}
|
|
||||||
|
|
|
@ -25,6 +25,16 @@
|
||||||
|
|
||||||
WINE_DEFAULT_DEBUG_CHANNEL(d3dx);
|
WINE_DEFAULT_DEBUG_CHANNEL(d3dx);
|
||||||
|
|
||||||
|
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;
|
||||||
|
}
|
||||||
|
|
||||||
HRESULT WINAPI D3DX11SaveTextureToMemory(ID3D11DeviceContext *context, ID3D11Resource *texture,
|
HRESULT WINAPI D3DX11SaveTextureToMemory(ID3D11DeviceContext *context, ID3D11Resource *texture,
|
||||||
D3DX11_IMAGE_FILE_FORMAT format, ID3D10Blob **buffer, UINT flags)
|
D3DX11_IMAGE_FILE_FORMAT format, ID3D10Blob **buffer, UINT flags)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue