Module: wine Branch: master Commit: 2dc847b6ec5c15edc10ef9cb983b279ae5848aa1 URL: https://gitlab.winehq.org/wine/wine/-/commit/2dc847b6ec5c15edc10ef9cb983b279...
Author: Nikolay Sivov nsivov@codeweavers.com Date: Thu Aug 4 15:02:34 2022 +0300
d2d1: Remove warning message for glyph run description.
Every DrawTextLayout() call will produce this warning, if there is any text to draw. Description is not required to draw a run, and is safe to ignore.
Signed-off-by: Nikolay Sivov nsivov@codeweavers.com
---
dlls/d2d1/device.c | 2 -- 1 file changed, 2 deletions(-)
diff --git a/dlls/d2d1/device.c b/dlls/d2d1/device.c index 0d08ddd4cb5..c502c5dc4e4 100644 --- a/dlls/d2d1/device.c +++ b/dlls/d2d1/device.c @@ -2804,8 +2804,6 @@ static HRESULT STDMETHODCALLTYPE d2d_text_renderer_DrawGlyphRun(IDWriteTextRende iface, ctx, baseline_origin_x, baseline_origin_y, measuring_mode, glyph_run, glyph_run_desc, effect);
- if (glyph_run_desc) - WARN("Ignoring glyph run description %p.\n", glyph_run_desc); if (context->options & ~(D2D1_DRAW_TEXT_OPTIONS_NO_SNAP | D2D1_DRAW_TEXT_OPTIONS_ENABLE_COLOR_FONT)) FIXME("Ignoring options %#x.\n", context->options);