From af3638af809ca97bdb513a908d51f3e769677220 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B3zef=20Kucia?= Date: Wed, 29 Mar 2017 15:11:09 +0200 Subject: [PATCH] d3d11: Replace another magic number with D3D10_SO_BUFFER_SLOT_COUNT. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit I missed this occurrence in a1ef2347b16e17f4a3ac8a1fcf1e5a5de4844e43. Signed-off-by: Józef Kucia Signed-off-by: Henri Verbeet Signed-off-by: Alexandre Julliard --- dlls/d3d11/device.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/d3d11/device.c b/dlls/d3d11/device.c index 6d230ee3766..5ae305d3235 100644 --- a/dlls/d3d11/device.c +++ b/dlls/d3d11/device.c @@ -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); }