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

Alexandre Julliard julliard at winehq.org
Thu Mar 5 10:31:11 CST 2009


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

Author: Henri Verbeet <hverbeet at codeweavers.com>
Date:   Thu Mar  5 12:30:44 2009 +0100

d3d10core: Implement ID3D10Device::Draw().

---

 dlls/d3d10core/device.c |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/dlls/d3d10core/device.c b/dlls/d3d10core/device.c
index 4435af6..1406c38 100644
--- a/dlls/d3d10core/device.c
+++ b/dlls/d3d10core/device.c
@@ -146,8 +146,12 @@ static void STDMETHODCALLTYPE d3d10_device_DrawIndexed(ID3D10Device *iface,
 static void STDMETHODCALLTYPE d3d10_device_Draw(ID3D10Device *iface,
         UINT vertex_count, UINT start_vertex_location)
 {
-    FIXME("iface %p, vertex_count %u, start_vertex_location %u stub!\n",
+    struct d3d10_device *This = (struct d3d10_device *)iface;
+
+    TRACE("iface %p, vertex_count %u, start_vertex_location %u\n",
             iface, vertex_count, start_vertex_location);
+
+    IWineD3DDevice_DrawPrimitive(This->wined3d_device, start_vertex_location, vertex_count);
 }
 
 static void STDMETHODCALLTYPE d3d10_device_PSSetConstantBuffers(ID3D10Device *iface,




More information about the wine-cvs mailing list