diff options
author | Tor Arne Vestbø <tor.arne.vestbo@digia.com> | 2012-11-03 16:14:40 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-02-16 05:07:54 +0100 |
commit | 8b06b4136fdf3b20c96389434b737eec00f174ff (patch) | |
tree | 5be673be3789a84718f240c96a8dc1a76a6e775e /src/plugins/platforms/minimalegl | |
parent | 4804f09c661d29b559a8fc239263f48ac1ce17ca (diff) |
Zero-initialize paint-device in minimal EGL platform plugin
Change-Id: Ic6b39825cf349f8ad8a56b1fb5dd3855f8675519
Reviewed-by: Morten Johan Sørvig <morten.sorvig@digia.com>
Reviewed-by: Samuel Rødal <samuel.rodal@digia.com>
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@digia.com>
Diffstat (limited to 'src/plugins/platforms/minimalegl')
-rw-r--r-- | src/plugins/platforms/minimalegl/qminimaleglbackingstore.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/platforms/minimalegl/qminimaleglbackingstore.cpp b/src/plugins/platforms/minimalegl/qminimaleglbackingstore.cpp index da89100359..cb245f2e5c 100644 --- a/src/plugins/platforms/minimalegl/qminimaleglbackingstore.cpp +++ b/src/plugins/platforms/minimalegl/qminimaleglbackingstore.cpp @@ -49,6 +49,7 @@ QT_BEGIN_NAMESPACE QMinimalEglBackingStore::QMinimalEglBackingStore(QWindow *window) : QPlatformBackingStore(window) , m_context(new QOpenGLContext) + , m_device(0) { m_context->setFormat(window->requestedFormat()); m_context->setScreen(window->screen()); |