mirror of
git://source.winehq.org/git/wine.git
synced 2024-11-05 18:01:34 +00:00
d3d10core: Implement ID3D10Device::DrawIndexed().
This commit is contained in:
parent
956e800c81
commit
fa07d93730
1 changed files with 6 additions and 1 deletions
|
@ -153,8 +153,13 @@ static void STDMETHODCALLTYPE d3d10_device_VSSetShader(ID3D10Device *iface, ID3D
|
|||
static void STDMETHODCALLTYPE d3d10_device_DrawIndexed(ID3D10Device *iface,
|
||||
UINT index_count, UINT start_index_location, INT base_vertex_location)
|
||||
{
|
||||
FIXME("iface %p, index_count %u, start_index_location %u, base_vertex_location %d stub!\n",
|
||||
struct d3d10_device *This = (struct d3d10_device *)iface;
|
||||
|
||||
TRACE("iface %p, index_count %u, start_index_location %u, base_vertex_location %d.\n",
|
||||
iface, index_count, start_index_location, base_vertex_location);
|
||||
|
||||
IWineD3DDevice_SetBaseVertexIndex(This->wined3d_device, base_vertex_location);
|
||||
IWineD3DDevice_DrawIndexedPrimitive(This->wined3d_device, start_index_location, index_count);
|
||||
}
|
||||
|
||||
static void STDMETHODCALLTYPE d3d10_device_Draw(ID3D10Device *iface,
|
||||
|
|
Loading…
Reference in a new issue