d3d11: Make impl_from_ID3D11ShaderResourceView() static.

Francois Gouget fgouget at free.fr
Sat Oct 24 09:05:18 CDT 2015


---
 dlls/d3d11/view.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dlls/d3d11/view.c b/dlls/d3d11/view.c
index 91f9265..a62c2de 100644
--- a/dlls/d3d11/view.c
+++ b/dlls/d3d11/view.c
@@ -1189,7 +1189,7 @@ struct d3d_rendertarget_view *unsafe_impl_from_ID3D10RenderTargetView(ID3D10Rend
 
 /* ID3D11ShaderResourceView methods */
 
-struct d3d_shader_resource_view *impl_from_ID3D11ShaderResourceView(ID3D11ShaderResourceView *iface)
+static struct d3d_shader_resource_view *impl_from_ID3D11ShaderResourceView(ID3D11ShaderResourceView *iface)
 {
     return CONTAINING_RECORD(iface, struct d3d_shader_resource_view, ID3D11ShaderResourceView_iface);
 }
-- 
2.6.1




More information about the wine-patches mailing list