Matteo Bruni : d3d9/tests: Fix test_wndproc() D3D9Ex test on Windows 10.

Alexandre Julliard julliard at winehq.org
Fri Mar 8 19:41:10 CST 2019


Module: wine
Branch: master
Commit: 2b02c2be5ccd65228087066e8f40409028df4cf6
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=2b02c2be5ccd65228087066e8f40409028df4cf6

Author: Matteo Bruni <mbruni at codeweavers.com>
Date:   Thu Mar  7 21:15:03 2019 +0100

d3d9/tests: Fix test_wndproc() D3D9Ex test on Windows 10.

Signed-off-by: Matteo Bruni <mbruni at codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/d3d9/tests/d3d9ex.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/dlls/d3d9/tests/d3d9ex.c b/dlls/d3d9/tests/d3d9ex.c
index 1d709cb..9067f3a 100644
--- a/dlls/d3d9/tests/d3d9ex.c
+++ b/dlls/d3d9/tests/d3d9ex.c
@@ -3215,11 +3215,11 @@ static void test_wndproc(void)
 
         if (!(tests[i].create_flags & CREATE_DEVICE_NOWINDOWCHANGES))
         {
-            ok(windowpos.hwnd == device_window && !windowpos.hwndInsertAfter
+            ok(windowpos.hwnd == device_window
                     && !windowpos.x && !windowpos.y && !windowpos.cx && !windowpos.cy
                     && windowpos.flags == (SWP_SHOWWINDOW | SWP_NOMOVE | SWP_NOSIZE),
-                    "Got unexpected WINDOWPOS hwnd=%p, insertAfter=%p, x=%d, y=%d, cx=%d, cy=%d, flags=%x\n",
-                    windowpos.hwnd, windowpos.hwndInsertAfter, windowpos.x, windowpos.y, windowpos.cx,
+                    "Got unexpected WINDOWPOS hwnd=%p, x=%d, y=%d, cx=%d, cy=%d, flags=%x\n",
+                    windowpos.hwnd, windowpos.x, windowpos.y, windowpos.cx,
                     windowpos.cy, windowpos.flags);
         }
 




More information about the wine-cvs mailing list