Skip to content

Commit

Permalink
d3dx9/tests: Use SetRectEmpty() instead of open coding it.
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Stefaniuc <[email protected]>
Signed-off-by: Matteo Bruni <[email protected]>
Signed-off-by: Alexandre Julliard <[email protected]>
  • Loading branch information
mstefani authored and julliard committed Dec 7, 2018
1 parent 67574e4 commit 90a3911
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dlls/d3dx9_36/tests/core.c
Original file line number Diff line number Diff line change
Expand Up @@ -621,7 +621,7 @@ static void test_ID3DXFont(IDirect3DDevice9 *device)
ok(height == tests[i].font_height, "Got unexpected height %u.\n", height);
}

SetRect(&rect, 0, 0, 0, 0);
SetRectEmpty(&rect);
height = ID3DXFont_DrawTextW(font, sprite, testW, size, &rect,
DT_LEFT | DT_CALCRECT, 0xffffffff);
todo_wine ok(height == tests[i].font_height, "Got unexpected height %u.\n", height);
Expand Down

0 comments on commit 90a3911

Please sign in to comment.