summaryrefslogtreecommitdiffstats
path: root/src/adaptationlayers/default/default_glyphnode_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/adaptationlayers/default/default_glyphnode_p.h')
-rw-r--r--src/adaptationlayers/default/default_glyphnode_p.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/adaptationlayers/default/default_glyphnode_p.h b/src/adaptationlayers/default/default_glyphnode_p.h
index 32907d0..6148ade 100644
--- a/src/adaptationlayers/default/default_glyphnode_p.h
+++ b/src/adaptationlayers/default/default_glyphnode_p.h
@@ -63,7 +63,7 @@ public:
void setColor(const QColor &color) { m_color = color; }
const QColor &color() const { return m_color; }
- TextureReference *texture() const { return m_texture; }
+ const QSGTextureRef &texture() const { return m_texture; }
void updateGlyphCache(const QGLContext *context);
@@ -83,7 +83,7 @@ public:
private:
void init();
- TextureReference *m_texture;
+ QSGTextureRef m_texture;
QExplicitlySharedDataPointer<QFontEngineGlyphCache> m_glyphCache;
QFontEngine *m_fontEngine;
QFontEngine *m_originalFontEngine;