mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-15 03:04:47 +00:00
d3d9/tests: The expected scissor rect after a reset is equal to the back-buffer dimensions.
This appears to have gotten lost in commit
7623d0a6f5
.
This commit is contained in:
parent
51466755ad
commit
bba63771eb
|
@ -3644,6 +3644,7 @@ static void test_scissor_size(void)
|
||||||
|
|
||||||
hr = IDirect3DDevice9_GetScissorRect(device_ptr, &scissorrect);
|
hr = IDirect3DDevice9_GetScissorRect(device_ptr, &scissorrect);
|
||||||
ok(hr == S_OK, "Got hr %#lx.\n", hr);
|
ok(hr == S_OK, "Got hr %#lx.\n", hr);
|
||||||
|
SetRect(&expect, 0, 0, registry_mode.dmPelsWidth, registry_mode.dmPelsHeight);
|
||||||
ok(EqualRect(&scissorrect, &expect), "Expected rect %s, got %s.\n",
|
ok(EqualRect(&scissorrect, &expect), "Expected rect %s, got %s.\n",
|
||||||
wine_dbgstr_rect(&expect), wine_dbgstr_rect(&scissorrect));
|
wine_dbgstr_rect(&expect), wine_dbgstr_rect(&scissorrect));
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue