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:
parent
0362b418fc
commit
a1ef2347b1
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue