From c283d78a1d7709e5c95f0bceabbd5cf5bdc6494e Mon Sep 17 00:00:00 2001 From: Jocelyn Turcotte Date: Tue, 22 May 2012 13:23:26 +0200 Subject: Add a missing pointer initializer. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This causes a crash when using QGraphicsWebView with a GL viewport. Change-Id: I64bdcfe8cd4d8ed7794188c1df08f9028479f8d4 Reviewed-by: Samuel Rødal --- src/opengl/gl2paintengineex/qtextureglyphcache_gl.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/opengl/gl2paintengineex') diff --git a/src/opengl/gl2paintengineex/qtextureglyphcache_gl.cpp b/src/opengl/gl2paintengineex/qtextureglyphcache_gl.cpp index 8321b8dafe..ed613ab8ba 100644 --- a/src/opengl/gl2paintengineex/qtextureglyphcache_gl.cpp +++ b/src/opengl/gl2paintengineex/qtextureglyphcache_gl.cpp @@ -50,6 +50,7 @@ QBasicAtomicInt qgltextureglyphcache_serial_number = Q_BASIC_ATOMIC_INITIALIZER( QGLTextureGlyphCache::QGLTextureGlyphCache(QFontEngineGlyphCache::Type type, const QTransform &matrix) : QImageTextureGlyphCache(type, matrix) + , m_textureResource(0) , pex(0) , m_blitProgram(0) , m_filterMode(Nearest) -- cgit v1.2.3