"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "dlls/d3d9/tests/d3d9ex.c" between
wine-5.12.tar.xz and wine-5.13.tar.xz

About: Wine is an Open Source implementation of the MS Windows API on top of X, OpenGL, and Unix. Think of Wine as a compatibility layer for running Windows programs. Development release.

d3d9ex.c  (wine-5.12.tar.xz):d3d9ex.c  (wine-5.13.tar.xz)
skipping to change at line 3562 skipping to change at line 3562
todo_wine ok(!EqualRect(&r, &r2) || broken(!(style & WS_THICKFRAME)) /* w1064v1809 */, todo_wine ok(!EqualRect(&r, &r2) || broken(!(style & WS_THICKFRAME)) /* w1064v1809 */,
"Client rect and window rect are equal, i=%u.\n", i); "Client rect and window rect are equal, i=%u.\n", i);
GetWindowRect(focus_window, &r); GetWindowRect(focus_window, &r);
ok(EqualRect(&r, &focus_rect), "Expected %s, got %s, i=%u.\n", ok(EqualRect(&r, &focus_rect), "Expected %s, got %s, i=%u.\n",
wine_dbgstr_rect(&focus_rect), wine_dbgstr_rect(&r), i); wine_dbgstr_rect(&focus_rect), wine_dbgstr_rect(&r), i);
device_desc.flags = 0; device_desc.flags = 0;
hr = reset_device(device, &device_desc); hr = reset_device(device, &device_desc);
ok(SUCCEEDED(hr), "Failed to reset device, hr %#x.\n", hr); ok(SUCCEEDED(hr), "Failed to reset device, hr %#x.\n", hr);
GetWindowRect(device_window, &r);
if (tests[i].device_flags & CREATE_DEVICE_NOWINDOWCHANGES)
todo_wine ok(EqualRect(&r, &device_rect), "Expected %s, got %s, i=%u
.\n",
wine_dbgstr_rect(&device_rect), wine_dbgstr_rect(&r), i);
else
ok(EqualRect(&r, &fullscreen_rect), "Expected %s, got %s, i=%u.\n",
wine_dbgstr_rect(&fullscreen_rect), wine_dbgstr_rect(&r), i)
;
style = GetWindowLongA(device_window, GWL_STYLE); style = GetWindowLongA(device_window, GWL_STYLE);
expected_style = device_style; expected_style = device_style;
todo_wine_if (!(tests[i].style_flags & WS_VISIBLE)) ok(style == expected_style, "Expected device window style %#x, got %#x,
ok(style == expected_style, "Expected device window style %#x, got % i=%u.\n",
#x, i=%u.\n", expected_style, style, i);
expected_style, style, i);
style = GetWindowLongA(device_window, GWL_EXSTYLE); style = GetWindowLongA(device_window, GWL_EXSTYLE);
expected_style = device_exstyle; expected_style = device_exstyle;
todo_wine ok(style == expected_style, "Expected device window extended s tyle %#x, got %#x, i=%u.\n", ok(style == expected_style, "Expected device window extended style %#x, got %#x, i=%u.\n",
expected_style, style, i); expected_style, style, i);
style = GetWindowLongA(focus_window, GWL_STYLE); style = GetWindowLongA(focus_window, GWL_STYLE);
ok(style == focus_style, "Expected focus window style %#x, got %#x, i=%u .\n", ok(style == focus_style, "Expected focus window style %#x, got %#x, i=%u .\n",
focus_style, style, i); focus_style, style, i);
style = GetWindowLongA(focus_window, GWL_EXSTYLE); style = GetWindowLongA(focus_window, GWL_EXSTYLE);
ok(style == focus_exstyle, "Expected focus window extended style %#x, go t %#x, i=%u.\n", ok(style == focus_exstyle, "Expected focus window extended style %#x, go t %#x, i=%u.\n",
focus_exstyle, style, i); focus_exstyle, style, i);
ref = IDirect3DDevice9Ex_Release(device); ref = IDirect3DDevice9Ex_Release(device);
ok(ref == 0, "The device was not properly freed: refcount %u.\n", ref); ok(ref == 0, "The device was not properly freed: refcount %u.\n", ref);
style = GetWindowLongA(device_window, GWL_STYLE); style = GetWindowLongA(device_window, GWL_STYLE);
expected_style = device_style; expected_style = device_style;
todo_wine_if (!(tests[i].style_flags & WS_VISIBLE)) ok(style == expected_style, "Expected device window style %#x, got %#x,
ok(style == expected_style, "Expected device window style %#x, got % i=%u.\n",
#x, i=%u.\n", expected_style, style, i);
expected_style, style, i);
style = GetWindowLongA(device_window, GWL_EXSTYLE); style = GetWindowLongA(device_window, GWL_EXSTYLE);
expected_style = device_exstyle; expected_style = device_exstyle;
todo_wine ok(style == expected_style, "Expected device window extended s tyle %#x, got %#x, i=%u.\n", ok(style == expected_style, "Expected device window extended style %#x, got %#x, i=%u.\n",
expected_style, style, i); expected_style, style, i);
style = GetWindowLongA(focus_window, GWL_STYLE); style = GetWindowLongA(focus_window, GWL_STYLE);
ok(style == focus_style, "Expected focus window style %#x, got %#x, i=%u .\n", ok(style == focus_style, "Expected focus window style %#x, got %#x, i=%u .\n",
focus_style, style, i); focus_style, style, i);
style = GetWindowLongA(focus_window, GWL_EXSTYLE); style = GetWindowLongA(focus_window, GWL_EXSTYLE);
ok(style == focus_exstyle, "Expected focus window extended style %#x, go t %#x, i=%u.\n", ok(style == focus_exstyle, "Expected focus window extended style %#x, go t %#x, i=%u.\n",
focus_exstyle, style, i); focus_exstyle, style, i);
/* The second time a device is created on the window the window becomes visible and /* The second time a device is created on the window the window becomes visible and
 End of changes. 5 change blocks. 
10 lines changed or deleted 18 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)