d3d10core: Implement ID3D10Device::Draw().

This commit is contained in:
Henri Verbeet 2009-03-05 12:30:44 +01:00 committed by Alexandre Julliard
parent 702eeb6b0c
commit 18300b8351
1 changed files with 5 additions and 1 deletions

View File

@ -146,8 +146,12 @@ static void STDMETHODCALLTYPE d3d10_device_DrawIndexed(ID3D10Device *iface,
static void STDMETHODCALLTYPE d3d10_device_Draw(ID3D10Device *iface, static void STDMETHODCALLTYPE d3d10_device_Draw(ID3D10Device *iface,
UINT vertex_count, UINT start_vertex_location) 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); iface, vertex_count, start_vertex_location);
IWineD3DDevice_DrawPrimitive(This->wined3d_device, start_vertex_location, vertex_count);
} }
static void STDMETHODCALLTYPE d3d10_device_PSSetConstantBuffers(ID3D10Device *iface, static void STDMETHODCALLTYPE d3d10_device_PSSetConstantBuffers(ID3D10Device *iface,