[PATCH 4/6] d3d11: Replace another magic number with D3D10_SO_BUFFER_SLOT_COUNT.
Józef Kucia
jkucia at codeweavers.com
Wed Mar 29 08:11:09 CDT 2017
I missed this occurrence in a1ef2347b16e17f4a3ac8a1fcf1e5a5de4844e43.
Signed-off-by: Józef Kucia <jkucia at codeweavers.com>
---
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 6d230ee..5ae305d 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);
}
--
2.10.2
More information about the wine-patches
mailing list