Commit af3638af authored by Józef Kucia's avatar Józef Kucia Committed by Alexandre Julliard

d3d11: Replace another magic number with D3D10_SO_BUFFER_SLOT_COUNT.

I missed this occurrence in a1ef2347. Signed-off-by: 's avatarJózef Kucia <jkucia@codeweavers.com> Signed-off-by: 's avatarHenri Verbeet <hverbeet@codeweavers.com> Signed-off-by: 's avatarAlexandre Julliard <julliard@winehq.org>
parent 96570c52
......@@ -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);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment