[PATCH 0/1] MR588: 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(a)codeweavers.com> -- https://gitlab.winehq.org/wine/wine/-/merge_requests/588
From: Nikolay Sivov <nsivov(a)codeweavers.com> 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(a)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 d25ad3a9d78..f16e4998d62 100644 --- a/dlls/d2d1/device.c +++ b/dlls/d2d1/device.c @@ -2789,8 +2789,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); -- GitLab https://gitlab.winehq.org/wine/wine/-/merge_requests/588
participants (2)
-
Nikolay Sivov -
Nikolay Sivov (@nsivov)