https://git.reactos.org/?p=reactos.git;a=commitdiff;h=64135505f27a8cc00b1c3…
commit 64135505f27a8cc00b1c3546bef53d03aca9d749
Author: Timo Kreuzer <timo.kreuzer(a)reactos.org>
AuthorDate: Fri Dec 16 12:48:20 2022 +0200
Commit: Timo Kreuzer <timo.kreuzer(a)reactos.org>
CommitDate: Fri Dec 30 11:19:26 2022 +0100
[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");