[PATCH 2/5] d3d11: Implement d3d10_device_CreateShaderResourceView1().

Henri Verbeet hverbeet at gmail.com
Mon Oct 19 05:59:42 CDT 2015


On 19 October 2015 at 01:41, Józef Kucia <jkucia at codeweavers.com> wrote:
> +static HRESULT STDMETHODCALLTYPE d3d10_device_CreateShaderResourceView1(ID3D10Device1 *iface,
> +        ID3D10Resource *resource, const D3D10_SHADER_RESOURCE_VIEW_DESC1 *desc, ID3D10ShaderResourceView1 **view);

Things like this are always a bit awkward because on the one hand
you'd like to preserve the vtbl order, while on the other you'd like
to avoid forward declarations. I think it's better to just move the
implementation of d3d10_device_CreateShaderResourceView1() to be above
d3d10_device_CreateShaderResourceView().



More information about the wine-devel mailing list