Module: wine Branch: master Commit: 18300b8351237278883cae700be4a49735d3fb63 URL: http://source.winehq.org/git/wine.git/?a=commit;h=18300b8351237278883cae700b...
Author: Henri Verbeet hverbeet@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,