d3d10core: Fix the stream index in d3d10_device_IASetVertexBuffers().
This commit is contained in:
parent
9a27b0ad71
commit
e00f1590db
|
@ -212,7 +212,7 @@ static void STDMETHODCALLTYPE d3d10_device_IASetVertexBuffers(ID3D10Device *ifac
|
|||
{
|
||||
struct d3d10_buffer *buffer = unsafe_impl_from_ID3D10Buffer(buffers[i]);
|
||||
|
||||
wined3d_device_set_stream_source(This->wined3d_device, start_slot,
|
||||
wined3d_device_set_stream_source(This->wined3d_device, start_slot + i,
|
||||
buffer ? buffer->wined3d_buffer : NULL, offsets[i], strides[i]);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue