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>
This commit is contained in:
Nikolay Sivov 2022-08-04 15:02:34 +03:00 committed by Alexandre Julliard
parent d418657e2c
commit 2dc847b6ec

View file

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