Henri Verbeet : d3d10core: Implement ID3D10Device::VSSetShader().
Module: wine Branch: master Commit: 057513cf6696b461c89685737afd00f5bee831c6 URL: http://source.winehq.org/git/wine.git/?a=commit;h=057513cf6696b461c89685737a... Author: Henri Verbeet <hverbeet(a)codeweavers.com> Date: Thu May 28 08:44:21 2009 +0200 d3d10core: Implement ID3D10Device::VSSetShader(). --- dlls/d3d10core/device.c | 7 ++++++- 1 files changed, 6 insertions(+), 1 deletions(-) diff --git a/dlls/d3d10core/device.c b/dlls/d3d10core/device.c index ce18eb7..15e0184 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,
participants (1)
-
Alexandre Julliard