diff options
Diffstat (limited to 'src/declarative/scenegraph/qsgdefaultglyphnode_p_p.h')
-rw-r--r-- | src/declarative/scenegraph/qsgdefaultglyphnode_p_p.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/declarative/scenegraph/qsgdefaultglyphnode_p_p.h b/src/declarative/scenegraph/qsgdefaultglyphnode_p_p.h index 19d5f9e6a6..d22bc33fea 100644 --- a/src/declarative/scenegraph/qsgdefaultglyphnode_p_p.h +++ b/src/declarative/scenegraph/qsgdefaultglyphnode_p_p.h @@ -42,6 +42,7 @@ #ifndef TEXTMASKMATERIAL_H #define TEXTMASKMATERIAL_H +#include <qcolor.h> #include <qsgmaterial.h> #include <qsgtexture.h> #include <qsggeometry.h> @@ -52,7 +53,7 @@ QT_BEGIN_NAMESPACE class QFontEngineGlyphCache; -class QGLTextureGlyphCache; +class QOpenGLTextureGlyphCache; class QFontEngine; class Geometry; class QSGTextMaskMaterial: public QSGMaterial @@ -75,7 +76,7 @@ public: bool ensureUpToDate(); - QGLTextureGlyphCache *glyphCache() const; + QOpenGLTextureGlyphCache *glyphCache() const; void populate(const QPointF &position, const QVector<quint32> &glyphIndexes, const QVector<QPointF> &glyphPositions, QSGGeometry *geometry, QRectF *boundingRect, QPointF *baseLine); |