=?UTF-8?Q?J=C3=B3zef=20Kucia=20?=: d3d10core/tests: Extend test for ID3D10Device::UpdateSubresource().
Alexandre Julliard
julliard at wine.codeweavers.com
Wed Jan 20 10:50:02 CST 2016
Module: wine
Branch: master
Commit: f26e13f38f68716fead0d363d62db686e41571b9
URL: http://source.winehq.org/git/wine.git/?a=commit;h=f26e13f38f68716fead0d363d62db686e41571b9
Author: Józef Kucia <jkucia at codeweavers.com>
Date: Tue Jan 19 22:28:07 2016 +0100
d3d10core/tests: Extend test for ID3D10Device::UpdateSubresource().
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/d3d10core/tests/device.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/dlls/d3d10core/tests/device.c b/dlls/d3d10core/tests/device.c
index 5d2b4c4..ba35e0d 100644
--- a/dlls/d3d10core/tests/device.c
+++ b/dlls/d3d10core/tests/device.c
@@ -4582,6 +4582,9 @@ static void test_update_subresource(void)
set_box(&box, 4, 4, 0, 3, 1, 1);
ID3D10Device_UpdateSubresource(device, (ID3D10Resource *)texture, 0, &box,
bitmap_data, sizeof(*bitmap_data), 0);
+ set_box(&box, 0, 0, 0, 4, 4, 0);
+ ID3D10Device_UpdateSubresource(device, (ID3D10Resource *)texture, 0, &box,
+ bitmap_data, 4 * sizeof(*bitmap_data), 0);
ID3D10Device_Draw(device, 4, 0);
get_texture_readback(backbuffer, &rb);
for (i = 0; i < 4; ++i)
More information about the wine-cvs
mailing list