From 64135505f27a8cc00b1c3546bef53d03aca9d749 Mon Sep 17 00:00:00 2001 From: Timo Kreuzer Date: Fri, 16 Dec 2022 12:48:20 +0200 Subject: [PATCH] [GDI32_APITEST] Fix test results for SetWorldTransform on Windows 2003 x64 --- modules/rostests/apitests/gdi32/SetWorldTransform.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/modules/rostests/apitests/gdi32/SetWorldTransform.c b/modules/rostests/apitests/gdi32/SetWorldTransform.c index cb82531513e..88e350f2eb0 100644 --- a/modules/rostests/apitests/gdi32/SetWorldTransform.c +++ b/modules/rostests/apitests/gdi32/SetWorldTransform.c @@ -63,7 +63,9 @@ void Test_SetWorldTransform() xform.eM22 = 1; ok(xform.eM12 != (FLOAT)1.0, "xform.eM12 shouldn't be 1.0\n"); ok(xform.eM21 != (FLOAT)1.0, "xform.eM21 shouldn't be 1.0\n"); +#if 0 // FIXME: x86 uses 80 bits internally, so the result doesn't reflect the actual FLOAT result ok(xform.eM12 * xform.eM21 != (FLOAT)1.0, "xform.eM12 * xform.eM21 shouldn't be 1.0\n"); +#endif result = SetWorldTransform(hdc, &xform); ok(result == 0, "SetWorldTransform should fail\n"); @@ -82,7 +84,9 @@ void Test_SetWorldTransform() xform.eM22 = 1.17549435e-38f; ok(xform.eM11 != (FLOAT)0.0, "xform.eM11 shouldn't be 0.0\n"); ok(xform.eM22 != (FLOAT)0.0, "xform.eM22 shouldn't be 0.0\n"); +#if 0 // FIXME: x86 uses 80 bits internally, so the result doesn't reflect the actual FLOAT result ok(xform.eM11 * xform.eM22 != (FLOAT)0.0, "xform.eM12 * xform.eM21 shouldn't be 0.0\n"); +#endif result = SetWorldTransform(hdc, &xform); ok(result == 1, "SetWorldTransform should succeed\n");