diff options
author | Aram So <aram.so@lge.com> | 2016-03-10 10:21:10 +0900 |
---|---|---|
committer | Aram So <aram.so@lge.com> | 2016-03-11 13:17:47 +0000 |
commit | 081e5bf20280a769b1f323a84c072efb25a1de11 (patch) | |
tree | f19bcb8903fc51265bf0163105a09a4b346a19f0 /src/quick/scenegraph/qsgdefaultdistancefieldglyphcache.cpp | |
parent | f728a514abdf59e2ac556eef027a69d9f21db4b2 (diff) |
Use the QT_DISTANCEFIELD_HIGHGLYPHCOUNT function from qtbase
Change-Id: Ica11d2d6499a8194a65f561d32fafd5b5b34579e
Task-number: QTBUG-51714
Reviewed-by: Aram So <aram.so@lge.com>
Reviewed-by: Yoann Lopes <yoann.lopes@theqtcompany.com>
Diffstat (limited to 'src/quick/scenegraph/qsgdefaultdistancefieldglyphcache.cpp')
-rw-r--r-- | src/quick/scenegraph/qsgdefaultdistancefieldglyphcache.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/quick/scenegraph/qsgdefaultdistancefieldglyphcache.cpp b/src/quick/scenegraph/qsgdefaultdistancefieldglyphcache.cpp index 1fc63db1b2..650700e37a 100644 --- a/src/quick/scenegraph/qsgdefaultdistancefieldglyphcache.cpp +++ b/src/quick/scenegraph/qsgdefaultdistancefieldglyphcache.cpp @@ -503,7 +503,7 @@ bool QSGDefaultDistanceFieldGlyphCache::useTextureUploadWorkaround() const bool QSGDefaultDistanceFieldGlyphCache::createFullSizeTextures() const { - return qsgPreferFullSizeGlyphCacheTextures() && glyphCount() > QT_DISTANCEFIELD_HIGHGLYPHCOUNT; + return qsgPreferFullSizeGlyphCacheTextures() && glyphCount() > QT_DISTANCEFIELD_HIGHGLYPHCOUNT(); } int QSGDefaultDistanceFieldGlyphCache::maxTextureSize() const |