d3d10core: Fix the stream index in d3d10_device_IASetVertexBuffers().

This commit is contained in:
Henri Verbeet 2012-11-14 23:06:00 +01:00 committed by Alexandre Julliard
parent 9a27b0ad71
commit e00f1590db

View File

@ -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]);
}
}