d3d11: Replace another magic number with D3D10_SO_BUFFER_SLOT_COUNT.
I missed this occurrence in a1ef2347b1
.
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
96570c5216
commit
af3638af80
|
@ -3738,7 +3738,7 @@ static void STDMETHODCALLTYPE d3d10_device_SOSetTargets(ID3D10Device1 *iface,
|
|||
buffer ? buffer->wined3d_buffer : NULL, offsets[i]);
|
||||
}
|
||||
|
||||
for (i = count; i < 4; ++i)
|
||||
for (i = count; i < D3D10_SO_BUFFER_SLOT_COUNT; ++i)
|
||||
{
|
||||
wined3d_device_set_stream_output(device->wined3d_device, i, NULL, 0);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue