summaryrefslogtreecommitdiffstats
path: root/src/gui/opengl/qtextureglyphcache_gl_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/opengl/qtextureglyphcache_gl_p.h')
-rw-r--r--src/gui/opengl/qtextureglyphcache_gl_p.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/gui/opengl/qtextureglyphcache_gl_p.h b/src/gui/opengl/qtextureglyphcache_gl_p.h
index cf157e07df..d8f10d12ba 100644
--- a/src/gui/opengl/qtextureglyphcache_gl_p.h
+++ b/src/gui/opengl/qtextureglyphcache_gl_p.h
@@ -64,9 +64,10 @@ QT_BEGIN_NAMESPACE
class QOpenGL2PaintEngineExPrivate;
-struct QOpenGLGlyphTexture : public QOpenGLSharedResource
+class QOpenGLGlyphTexture : public QOpenGLSharedResource
{
- QOpenGLGlyphTexture(QOpenGLContext *ctx)
+public:
+ explicit QOpenGLGlyphTexture(QOpenGLContext *ctx)
: QOpenGLSharedResource(ctx->shareGroup())
, m_width(0)
, m_height(0)