d3d11: Make impl_from_ID3D11ShaderResourceView() static. (try2)

Francois Gouget fgouget at free.fr
Mon Oct 26 13:20:51 CDT 2015


Signed-off-by: Francois Gouget <fgouget at free.fr>
---
 dlls/d3d11/view.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Forgot to make it inline as recommended by Józef Kucia in my previous 
email.


diff --git a/dlls/d3d11/view.c b/dlls/d3d11/view.c
index 91f9265..ca53764 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 inline 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