Henri Verbeet : d3d10core: Implement ID3D10Device::VSSetShader().

Alexandre Julliard julliard at winehq.org
Thu May 28 09:39:42 CDT 2009


Module: wine
Branch: master
Commit: 057513cf6696b461c89685737afd00f5bee831c6
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=057513cf6696b461c89685737afd00f5bee831c6

Author: Henri Verbeet <hverbeet at 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,




More information about the wine-cvs mailing list