Commit bba63771 authored by Henri Verbeet's avatar Henri Verbeet Committed by Alexandre Julliard

d3d9/tests: The expected scissor rect after a reset is equal to the back-buffer dimensions.

This appears to have gotten lost in commit 7623d0a6.
parent 51466755
......@@ -3644,6 +3644,7 @@ static void test_scissor_size(void)
hr = IDirect3DDevice9_GetScissorRect(device_ptr, &scissorrect);
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",
wine_dbgstr_rect(&expect), wine_dbgstr_rect(&scissorrect));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment