d3d11: Make "offsets" optional in d3d11_immediate_context_SOSetTargets().
Signed-off-by: Józef Kucia <jkucia@codeweavers.com> Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
45e50c3069
commit
e4560cf964
|
@ -827,7 +827,7 @@ static void STDMETHODCALLTYPE d3d11_immediate_context_SOSetTargets(ID3D11DeviceC
|
|||
struct d3d_buffer *buffer = unsafe_impl_from_ID3D11Buffer(buffers[i]);
|
||||
|
||||
wined3d_device_set_stream_output(device->wined3d_device, i,
|
||||
buffer ? buffer->wined3d_buffer : NULL, offsets[i]);
|
||||
buffer ? buffer->wined3d_buffer : NULL, offsets ? offsets[i] : 0);
|
||||
}
|
||||
for (; i < D3D11_SO_BUFFER_SLOT_COUNT; ++i)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue