Skip to content
Snippets Groups Projects
Commit 9ef184c1 authored by Henri Verbeet's avatar Henri Verbeet Committed by Alexandre Julliard
Browse files

d3d10core: Implement ID3D10Device::IASetVertexBuffers().

parent de7749b3
No related branches found
No related tags found
No related merge requests found
......@@ -178,8 +178,17 @@ static void STDMETHODCALLTYPE d3d10_device_IASetVertexBuffers(ID3D10Device *ifac
UINT start_slot, UINT buffer_count, ID3D10Buffer *const *buffers,
const UINT *strides, const UINT *offsets)
{
FIXME("iface %p, start_slot %u, buffer_count %u, buffers %p, strides %p, offsets %p stub!\n",
struct d3d10_device *This = (struct d3d10_device *)iface;
unsigned int i;
TRACE("iface %p, start_slot %u, buffer_count %u, buffers %p, strides %p, offsets %p\n",
iface, start_slot, buffer_count, buffers, strides, offsets);
for (i = 0; i < buffer_count; ++i)
{
IWineD3DDevice_SetStreamSource(This->wined3d_device, start_slot,
((struct d3d10_buffer *)buffers[i])->wined3d_buffer, offsets[i], strides[i]);
}
}
static void STDMETHODCALLTYPE d3d10_device_IASetIndexBuffer(ID3D10Device *iface,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment