[PATCH 2/5] d3dx9: Handle DT_CALCRECT in ID3DXFont_DrawText.
Matteo Bruni
matteo.mystral at gmail.com
Fri Mar 13 11:21:51 CDT 2020
On Tue, Mar 10, 2020 at 11:38 AM Sven Baars <sbaars at codeweavers.com> wrote:
> @@ -705,11 +706,24 @@ static INT WINAPI ID3DXFontImpl_DrawTextW(ID3DXFont *iface, ID3DXSprite *sprite,
> heap_free(results.lpCaretPos);
> heap_free(results.lpGlyphs);
> }
> + else if (size.cx > max_width)
> + {
> + max_width = size.cx;
> + }
I don't know if this is going to change afterwards but, currently, it
seems to me that the "else if" condition is always true.
More information about the wine-devel
mailing list