d3d10core: Implement ID3D10Device::PSSetShader().
Henri Verbeet
hverbeet at codeweavers.com
Fri May 8 10:44:25 CDT 2009
---
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,
--
1.6.0.6
--------------010707010507010402090702--
More information about the wine-patches
mailing list