=?UTF-8?Q?J=C3=B3zef=20Kucia=20?=: d3d11: Replace another magic number with D3D10_SO_BUFFER_SLOT_COUNT.
Alexandre Julliard
julliard at winehq.org
Wed Mar 29 15:02:52 CDT 2017
Module: wine
Branch: master
Commit: af3638af809ca97bdb513a908d51f3e769677220
URL: http://source.winehq.org/git/wine.git/?a=commit;h=af3638af809ca97bdb513a908d51f3e769677220
Author: Józef Kucia <jkucia at codeweavers.com>
Date: Wed Mar 29 15:11:09 2017 +0200
d3d11: Replace another magic number with D3D10_SO_BUFFER_SLOT_COUNT.
I missed this occurrence in a1ef2347b16e17f4a3ac8a1fcf1e5a5de4844e43.
Signed-off-by: Józef Kucia <jkucia at codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
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);
}
More information about the wine-cvs
mailing list