d3d11: Avoid magic number in d3d10_device_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:
Józef Kucia 2017-03-22 09:40:56 +01:00 committed by Alexandre Julliard
parent 0362b418fc
commit a1ef2347b1
1 changed files with 1 additions and 1 deletions

View File

@ -3706,7 +3706,7 @@ static void STDMETHODCALLTYPE d3d10_device_SOSetTargets(ID3D10Device1 *iface,
TRACE("iface %p, target_count %u, targets %p, offsets %p.\n", iface, target_count, targets, offsets);
count = min(target_count, 4);
count = min(target_count, D3D10_SO_BUFFER_SLOT_COUNT);
wined3d_mutex_lock();
for (i = 0; i < count; ++i)
{