Commit 77568fd0 authored by Alistair Leslie-Hughes's avatar Alistair Leslie-Hughes Committed by Alexandre Julliard

d3dx11: Add D3DX11CreateTextureFromMemory stub.

parent 51afeca5
...@@ -22,7 +22,7 @@ ...@@ -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
......
...@@ -65,3 +65,13 @@ HRESULT WINAPI D3DX11CompileFromFileW(const WCHAR *filename, const D3D10_SHADER_ ...@@ -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;
}
...@@ -22,7 +22,7 @@ ...@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment