Module: wine Branch: master Commit: 32eb6986121936f424faf4e1e4fbe749814825e8 URL: http://source.winehq.org/git/wine.git/?a=commit;h=32eb6986121936f424faf4e1e4...
Author: Henri Verbeet hverbeet@codeweavers.com Date: Fri May 8 17:44:25 2009 +0200
d3d10core: Implement ID3D10Device::PSSetShader().
---
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 b5b191a..bbc527b 100644 --- a/dlls/d3d10core/device.c +++ b/dlls/d3d10core/device.c @@ -124,7 +124,12 @@ static void STDMETHODCALLTYPE d3d10_device_PSSetShaderResources(ID3D10Device *if
static void STDMETHODCALLTYPE d3d10_device_PSSetShader(ID3D10Device *iface, ID3D10PixelShader *shader) { - FIXME("iface %p, shader %p stub!\n", iface, shader); + struct d3d10_device *This = (struct d3d10_device *)iface; + struct d3d10_pixel_shader *ps = (struct d3d10_pixel_shader *)shader; + + TRACE("iface %p, shader %p\n", iface, shader); + + IWineD3DDevice_SetPixelShader(This->wined3d_device, ps ? ps->wined3d_shader : NULL); }
static void STDMETHODCALLTYPE d3d10_device_PSSetSamplers(ID3D10Device *iface,