Fix regression when displaying emojis on Windows

This amends b0e8ba783b. A
copy-paste error accidentally broke emojis on Windows.

Change-Id: I758572604370d170b8effd6c0ff97e09489fafa4
Reviewed-by: Eirik Aavitsland <eirik.aavitsland@qt.io>
Reviewed-by: Konstantin Ritt <ritt.ks@gmail.com>
bb10
Eskil Abrahamsen Blomfeldt 2022-02-04 13:40:02 +01:00
parent 90b07054f6
commit d4de57de42
1 changed files with 1 additions and 1 deletions

View File

@ -776,7 +776,7 @@ QImage QWindowsFontEngineDirectWrite::imageForGlyph(glyph_t t,
IDWriteGlyphRunAnalysis *colorGlyphsAnalysis = NULL;
hr = factory2->CreateGlyphRunAnalysis(
&glyphRun,
&colorGlyphRun->glyphRun,
&transform,
renderMode,
measureMode,