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:
Józef Kucia 2017-03-29 15:11:09 +02:00 committed by Alexandre Julliard
parent 96570c5216
commit af3638af80
1 changed files with 1 additions and 1 deletions

View File

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