Module: wine Branch: master Commit: bba63771eb742470046801ca4123613b32288624 URL: https://gitlab.winehq.org/wine/wine/-/commit/bba63771eb742470046801ca4123613...
Author: Henri Verbeet hverbeet@codeweavers.com Date: Thu Sep 15 14:35:52 2022 +0200
d3d9/tests: The expected scissor rect after a reset is equal to the back-buffer dimensions.
This appears to have gotten lost in commit 7623d0a6f585505302044beace53fb8ff81ae120.
---
dlls/d3d9/tests/device.c | 1 + 1 file changed, 1 insertion(+)
diff --git a/dlls/d3d9/tests/device.c b/dlls/d3d9/tests/device.c index 119ab0b3b34..dbdce1e5871 100644 --- a/dlls/d3d9/tests/device.c +++ b/dlls/d3d9/tests/device.c @@ -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));