ddraw/tests: Remove useless casts to self.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org> Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
2d46fb2476
commit
0df36ddfa4
|
@ -2258,7 +2258,7 @@ static void test_wndproc(void)
|
|||
(LONG_PTR)DefWindowProcA, proc);
|
||||
hr = IDirectDraw_SetCooperativeLevel(ddraw, window, DDSCL_EXCLUSIVE | DDSCL_FULLSCREEN);
|
||||
ok(SUCCEEDED(hr), "SetCooperativeLevel failed, hr %#x.\n", hr);
|
||||
proc = SetWindowLongPtrA(window, GWLP_WNDPROC, (LONG_PTR)ddraw_proc);
|
||||
proc = SetWindowLongPtrA(window, GWLP_WNDPROC, ddraw_proc);
|
||||
ok(proc == (LONG_PTR)DefWindowProcA, "Expected wndproc %#lx, got %#lx.\n",
|
||||
(LONG_PTR)DefWindowProcA, proc);
|
||||
ref = IDirectDraw_Release(ddraw);
|
||||
|
|
|
@ -2391,7 +2391,7 @@ static void test_wndproc(void)
|
|||
(LONG_PTR)DefWindowProcA, proc);
|
||||
hr = IDirectDraw2_SetCooperativeLevel(ddraw, window, DDSCL_EXCLUSIVE | DDSCL_FULLSCREEN);
|
||||
ok(SUCCEEDED(hr), "SetCooperativeLevel failed, hr %#x.\n", hr);
|
||||
proc = SetWindowLongPtrA(window, GWLP_WNDPROC, (LONG_PTR)ddraw_proc);
|
||||
proc = SetWindowLongPtrA(window, GWLP_WNDPROC, ddraw_proc);
|
||||
ok(proc == (LONG_PTR)DefWindowProcA, "Expected wndproc %#lx, got %#lx.\n",
|
||||
(LONG_PTR)DefWindowProcA, proc);
|
||||
ref = IDirectDraw2_Release(ddraw);
|
||||
|
|
|
@ -2541,7 +2541,7 @@ static void test_wndproc(void)
|
|||
(LONG_PTR)DefWindowProcA, proc);
|
||||
hr = IDirectDraw4_SetCooperativeLevel(ddraw, window, DDSCL_EXCLUSIVE | DDSCL_FULLSCREEN);
|
||||
ok(SUCCEEDED(hr), "SetCooperativeLevel failed, hr %#x.\n", hr);
|
||||
proc = SetWindowLongPtrA(window, GWLP_WNDPROC, (LONG_PTR)ddraw_proc);
|
||||
proc = SetWindowLongPtrA(window, GWLP_WNDPROC, ddraw_proc);
|
||||
ok(proc == (LONG_PTR)DefWindowProcA, "Expected wndproc %#lx, got %#lx.\n",
|
||||
(LONG_PTR)DefWindowProcA, proc);
|
||||
ref = IDirectDraw4_Release(ddraw);
|
||||
|
|
|
@ -2216,7 +2216,7 @@ static void test_wndproc(void)
|
|||
(LONG_PTR)DefWindowProcA, proc);
|
||||
hr = IDirectDraw7_SetCooperativeLevel(ddraw, window, DDSCL_EXCLUSIVE | DDSCL_FULLSCREEN);
|
||||
ok(SUCCEEDED(hr), "SetCooperativeLevel failed, hr %#x.\n", hr);
|
||||
proc = SetWindowLongPtrA(window, GWLP_WNDPROC, (LONG_PTR)ddraw_proc);
|
||||
proc = SetWindowLongPtrA(window, GWLP_WNDPROC, ddraw_proc);
|
||||
ok(proc == (LONG_PTR)DefWindowProcA, "Expected wndproc %#lx, got %#lx.\n",
|
||||
(LONG_PTR)DefWindowProcA, proc);
|
||||
ref = IDirectDraw7_Release(ddraw);
|
||||
|
|
Loading…
Reference in New Issue