[PATCH] d3dx11: Add D3DX11FilterTexture stub.

Matteo Bruni matteo.mystral at gmail.com
Sun Apr 9 12:37:20 CDT 2017


2017-04-03 18:49 GMT+02:00 Andrey Gusev <andrey.goosev at gmail.com>:
> Signed-off-by: Andrey Gusev <andrey.goosev at gmail.com>
> diff --git a/include/d3dx11tex.h b/include/d3dx11tex.h
> index 16b280a..81a43cc 100644
> --- a/include/d3dx11tex.h
> +++ b/include/d3dx11tex.h
> @@ -93,6 +93,8 @@ HRESULT WINAPI D3DX11CreateShaderResourceViewFromMemory(ID3D11Device *device, co
>  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);
>
> +HRESULT WINAPI D3DX11FilterTexture(ID3D11DeviceContext *context, ID3D11Resource *texture, UINT src_level, UINT filter);
> +
>  HRESULT WINAPI D3DX11GetImageInfoFromMemory(const void *src_data, SIZE_T src_data_size, ID3DX11ThreadPump *pump,
>          D3DX11_IMAGE_INFO *img_info, HRESULT *hresult);
>
> --
> 2.7.4

Could you please also add the D3DX11_FILTER_FLAG definition to d3dx11tex.h?
Looks okay otherwise.



More information about the wine-devel mailing list