d3dx9/tests: Use SetRectEmpty() instead of open coding it.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org> Signed-off-by: Matteo Bruni <mbruni@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
67574e4440
commit
90a3911355
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue