summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJocelyn Turcotte <jocelyn.turcotte@nokia.com>2012-05-22 13:23:26 +0200
committerQt by Nokia <qt-info@nokia.com>2012-05-23 14:18:34 +0200
commitc283d78a1d7709e5c95f0bceabbd5cf5bdc6494e (patch)
tree74bbd14b95381d8e5df2d20035b9edc09a26034b
parent19a6c50061ec2feb86895c6ffee500bf58c14809 (diff)
Add a missing pointer initializer.
This causes a crash when using QGraphicsWebView with a GL viewport. Change-Id: I64bdcfe8cd4d8ed7794188c1df08f9028479f8d4 Reviewed-by: Samuel Rødal <samuel.rodal@nokia.com>
-rw-r--r--src/opengl/gl2paintengineex/qtextureglyphcache_gl.cpp1
1 files changed, 1 insertions, 0 deletions
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)