QXRenderGlyphCache: Add QColor parameter for QFontEngineFT::loadGlyphFor

Fixes build after commit 39df9e1858a4115bc19b6a4dee5d687c5ee00d21

Pick-to: 6.8 6.9
Change-Id: Ice151b27591470ae81e07953f50e1abf9244ea28
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
This commit is contained in:
Jonas Kvinge 2025-01-17 10:18:58 +01:00
parent bd57467f4e
commit 55a4c6e9fc

View File

@ -2587,7 +2587,7 @@ bool QXRenderGlyphCache::addGlyphs(const QTextItemInt &ti,
}
}
glyph = ft->loadGlyphFor(glyphs[i], spp, glyphFormat(), transform());
glyph = ft->loadGlyphFor(glyphs[i], spp, glyphFormat(), transform(), QColor());
if (glyph == 0 || glyph->format != glyphFormat())
return false;