Navigation Menu

Skip to content

Commit

Permalink
[mer] Allow creation of 'native' glyph nodes.
Browse files Browse the repository at this point in the history
The upstream change (6c5b42b) to acheive
the same goal is much more involved and includes a binary incompatibility
with the customcontext, so we do the simple thing.

Change-Id: Ie21a457f7271c09b36fba55334e096dbd157fd5d
  • Loading branch information
sletta committed Apr 9, 2015
1 parent 3ccb8fb commit c249415
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 c249415

Please sign in to comment.