d3d10core: Implement ID3D10Device::VSSetShader().
Henri Verbeet
hverbeet at codeweavers.com
Thu May 28 01:44:21 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 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,
--
1.6.0.6
--------------050202090501090402070708--
More information about the wine-patches
mailing list