Added support for only enabling SignedDistanceField shader path when font resolution is greater than 16.

This commit is contained in:
Robert Osfield
2017-09-20 15:51:03 +01:00
parent fb0a995d7b
commit 78811462f1
4 changed files with 31 additions and 20 deletions

View File

@@ -213,6 +213,9 @@ void TextBase::setFontResolution(unsigned int width, unsigned int height)
if (_fontSize==size) return;
_fontSize = size;
assignStateSet();
computeGlyphRepresentation();
}