=?UTF-8?Q?J=C3=B3zef=20Kucia=20?=: d3d10core/tests: Viewport properties are integers.

Alexandre Julliard julliard at wine.codeweavers.com
Wed Mar 2 11:26:10 CST 2016


Module: wine
Branch: master
Commit: 28c04a64f6fc3dd6dff24b6919ea71e56dcbe278
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=28c04a64f6fc3dd6dff24b6919ea71e56dcbe278

Author: Józef Kucia <jkucia at codeweavers.com>
Date:   Tue Mar  1 22:46:07 2016 +0100

d3d10core/tests: Viewport properties are integers.

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 | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/dlls/d3d10core/tests/device.c b/dlls/d3d10core/tests/device.c
index 00302bb..27c7ee0 100644
--- a/dlls/d3d10core/tests/device.c
+++ b/dlls/d3d10core/tests/device.c
@@ -5617,10 +5617,10 @@ float4 main(const ps_in v) : SV_TARGET
     ID3D10Device_VSSetConstantBuffers(device, 1, 1, &colors_cb);
     ID3D10Device_PSSetShader(device, ps);
 
-    vp.TopLeftX = 0.0f;
-    vp.TopLeftY = 0.0f;
-    vp.Width = 640.0f;
-    vp.Height = 480.0f;
+    vp.TopLeftX = 0;
+    vp.TopLeftY = 0;
+    vp.Width = 640;
+    vp.Height = 480;
     vp.MinDepth = 0.0f;
     vp.MaxDepth = 1.0f;
     ID3D10Device_RSSetViewports(device, 1, &vp);




More information about the wine-cvs mailing list