From 057513cf6696b461c89685737afd00f5bee831c6 Mon Sep 17 00:00:00 2001 From: Henri Verbeet Date: Thu, 28 May 2009 08:44:21 +0200 Subject: [PATCH] d3d10core: Implement ID3D10Device::VSSetShader(). --- 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 ce18eb71c73..15e0184d83c 100644 --- a/dlls/d3d10core/device.c +++ b/dlls/d3d10core/device.c @@ -141,7 +141,12 @@ static void STDMETHODCALLTYPE d3d10_device_PSSetSamplers(ID3D10Device *iface, static void STDMETHODCALLTYPE d3d10_device_VSSetShader(ID3D10Device *iface, ID3D10VertexShader *shader) { - FIXME("iface %p, shader %p stub!\n", iface, shader); + struct d3d10_device *This = (struct d3d10_device *)iface; + struct d3d10_vertex_shader *vs = (struct d3d10_vertex_shader *)shader; + + TRACE("iface %p, shader %p\n", iface, shader); + + IWineD3DDevice_SetVertexShader(This->wined3d_device, vs ? vs->wined3d_shader : NULL); } static void STDMETHODCALLTYPE d3d10_device_DrawIndexed(ID3D10Device *iface,