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>
oldstable
Michael Stefaniuc 2018-12-05 18:57:41 +01:00 committed by Alexandre Julliard
parent 67574e4440
commit 90a3911355
1 changed files with 1 additions and 1 deletions

View File

@ -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);