=?UTF-8?Q?J=C3=B3zef=20Kucia=20?=: d2d1/tests: Change scale factors in test_bitmap_brush().
Alexandre Julliard
julliard at winehq.org
Mon Dec 19 16:53:07 CST 2016
Module: wine
Branch: master
Commit: 89ffad1f20dd93f18982c60984b0a223a7b5b1b6
URL: http://source.winehq.org/git/wine.git/?a=commit;h=89ffad1f20dd93f18982c60984b0a223a7b5b1b6
Author: Józef Kucia <jkucia at codeweavers.com>
Date: Sun Dec 18 00:22:27 2016 +0100
d2d1/tests: Change scale factors in test_bitmap_brush().
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/d2d1/tests/d2d1.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/d2d1/tests/d2d1.c b/dlls/d2d1/tests/d2d1.c
index 941a43a..cde8579 100644
--- a/dlls/d2d1/tests/d2d1.c
+++ b/dlls/d2d1/tests/d2d1.c
@@ -1145,7 +1145,7 @@ static void test_bitmap_brush(void)
ID2D1RenderTarget_SetTransform(rt, &matrix);
set_matrix_identity(&matrix);
translate_matrix(&matrix, -80.0f, -60.0f);
- scale_matrix(&matrix, 40.0f, 30.0f);
+ scale_matrix(&matrix, 64.0f, 32.0f);
ID2D1BitmapBrush_SetTransform(brush, &matrix);
ID2D1BitmapBrush_SetOpacity(brush, 0.75f);
set_rect(&dst_rect, -80.0f, -60.0f, 80.0f, 60.0f);
@@ -1167,7 +1167,7 @@ static void test_bitmap_brush(void)
hr = ID2D1RenderTarget_EndDraw(rt, NULL, NULL);
ok(SUCCEEDED(hr), "Failed to end draw, hr %#x.\n", hr);
- match = compare_surface(surface, "393636185359a550d459e1e5f0e25411814f724c");
+ match = compare_surface(surface, "9437f4447d98feaad41a1c4202ee90aadc718ee6");
ok(match, "Surface does not match.\n");
ID2D1RenderTarget_BeginDraw(rt);
More information about the wine-cvs
mailing list