From de7749b3fbf447399f8d1b22268e6043302a7bb4 Mon Sep 17 00:00:00 2001 From: Henri Verbeet Date: Tue, 31 Mar 2009 09:38:14 +0200 Subject: [PATCH] d3d10core: Implement ID3D10Device::IASetInputLayout(). --- dlls/d3d10core/device.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/dlls/d3d10core/device.c b/dlls/d3d10core/device.c index ff31b53de52..336ae852237 100644 --- a/dlls/d3d10core/device.c +++ b/dlls/d3d10core/device.c @@ -166,7 +166,12 @@ static void STDMETHODCALLTYPE d3d10_device_PSSetConstantBuffers(ID3D10Device *if static void STDMETHODCALLTYPE d3d10_device_IASetInputLayout(ID3D10Device *iface, ID3D10InputLayout *input_layout) { - FIXME("iface %p, input_layout %p stub!\n", iface, input_layout); + struct d3d10_device *This = (struct d3d10_device *)iface; + + TRACE("iface %p, input_layout %p\n", iface, input_layout); + + IWineD3DDevice_SetVertexDeclaration(This->wined3d_device, + ((struct d3d10_input_layout *)input_layout)->wined3d_decl); } static void STDMETHODCALLTYPE d3d10_device_IASetVertexBuffers(ID3D10Device *iface,