From 18300b8351237278883cae700be4a49735d3fb63 Mon Sep 17 00:00:00 2001 From: Henri Verbeet Date: Thu, 5 Mar 2009 12:30:44 +0100 Subject: [PATCH] d3d10core: Implement ID3D10Device::Draw(). --- dlls/d3d10core/device.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/dlls/d3d10core/device.c b/dlls/d3d10core/device.c index 4435af67293..1406c38ddf6 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, -- 2.11.4.GIT