Józef Kucia : d3d10core/tests: Viewport properties are integers.
Module: wine Branch: master Commit: 28c04a64f6fc3dd6dff24b6919ea71e56dcbe278 URL: http://source.winehq.org/git/wine.git/?a=commit;h=28c04a64f6fc3dd6dff24b6919... Author: Józef Kucia <jkucia(a)codeweavers.com> Date: Tue Mar 1 22:46:07 2016 +0100 d3d10core/tests: Viewport properties are integers. Signed-off-by: Józef Kucia <jkucia(a)codeweavers.com> Signed-off-by: Henri Verbeet <hverbeet(a)codeweavers.com> Signed-off-by: Alexandre Julliard <julliard(a)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);
participants (1)
-
Alexandre Julliard