mirror of
https://github.com/reactos/reactos.git
synced 2025-08-07 07:03:06 +00:00
[WINESYNC] d3dx9: Handle DT_SINGLELINE in ID3DXFont_DrawText.
Signed-off-by: Sven Baars <sbaars@codeweavers.com> Signed-off-by: Matteo Bruni <mbruni@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org> wine commit id 333687f522730befb8c64d297dc52f654e53a744 by Sven Baars <sbaars@codeweavers.com>
This commit is contained in:
parent
806fe486fb
commit
1dfbf16fa6
3 changed files with 22 additions and 11 deletions
|
@ -771,7 +771,7 @@ static void test_ID3DXFont(IDirect3DDevice9 *device)
|
|||
ok(height == 12, "Got unexpected height %d.\n", height);
|
||||
|
||||
height = ID3DXFont_DrawTextW(font, NULL, L"a\na", -1, &rect, DT_SINGLELINE, 0xff00ff);
|
||||
todo_wine ok(height == 12, "Got unexpected height %d.\n", height);
|
||||
ok(height == 12, "Got unexpected height %d.\n", height);
|
||||
|
||||
height = ID3DXFont_DrawTextW(font, NULL, L"a\naaaaa aaaa", -1, &rect, 0, 0xff00ff);
|
||||
ok(height == 24, "Got unexpected height %d.\n", height);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue