Added support for only enabling SignedDistanceField shader path when font resolution is greater than 16.
This commit is contained in:
@@ -213,6 +213,9 @@ void TextBase::setFontResolution(unsigned int width, unsigned int height)
|
||||
if (_fontSize==size) return;
|
||||
|
||||
_fontSize = size;
|
||||
|
||||
assignStateSet();
|
||||
|
||||
computeGlyphRepresentation();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user