Skip to content

Commit

Permalink
Merge pull request #67 from sletta/allow-native-glyphs
Browse files Browse the repository at this point in the history
[mer] Allow creation of 'native' glyph nodes.
  • Loading branch information
sletta committed Apr 9, 2015
2 parents 3ccb8fb + c249415 commit cc68190
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions src/quick/scenegraph/qsgcontext.cpp
Expand Up @@ -429,16 +429,8 @@ QSGImageNode *QSGContext::createImageNode()
*/
QSGGlyphNode *QSGContext::createNativeGlyphNode(QSGRenderContext *rc)
{
#if defined(QT_OPENGL_ES) && !defined(QT_OPENGL_ES_2_ANGLE)
Q_D(QSGContext);
if (d->distanceFieldDisabled)
return new QSGDefaultGlyphNode;
else
return createGlyphNode(rc);
#else
Q_UNUSED(rc);
return new QSGDefaultGlyphNode;
#endif
}

/*!
Expand Down

0 comments on commit cc68190

Please sign in to comment.