d3d11: Make impl_from_ID3D11ShaderResourceView() static.
Signed-off-by: Francois Gouget <fgouget@free.fr> Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
329fb2f728
commit
26c5fcd007
@ -1189,7 +1189,7 @@ struct d3d_rendertarget_view *unsafe_impl_from_ID3D10RenderTargetView(ID3D10Rend
|
|||||||
|
|
||||||
/* ID3D11ShaderResourceView methods */
|
/* ID3D11ShaderResourceView methods */
|
||||||
|
|
||||||
struct d3d_shader_resource_view *impl_from_ID3D11ShaderResourceView(ID3D11ShaderResourceView *iface)
|
static inline struct d3d_shader_resource_view *impl_from_ID3D11ShaderResourceView(ID3D11ShaderResourceView *iface)
|
||||||
{
|
{
|
||||||
return CONTAINING_RECORD(iface, struct d3d_shader_resource_view, ID3D11ShaderResourceView_iface);
|
return CONTAINING_RECORD(iface, struct d3d_shader_resource_view, ID3D11ShaderResourceView_iface);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user