Set the correct buffer pointer (protected member variables are evil).
authorSamuel Rødal <samuel.rodal@nokia.com>
Tue, 13 Sep 2011 20:59:54 +0000 (22:59 +0200)
committerPaul Olav Tvete <paul.tvete@nokia.com>
Thu, 22 Sep 2011 10:23:10 +0000 (12:23 +0200)
Change-Id: I6cdd64fbee5a9b46b44d8fadfc0f443dd1f4b140
Reviewed-on: http://codereview.qt-project.org/4862
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Jørgen Lind <jorgen.lind@nokia.com>
Reviewed-on: http://codereview.qt-project.org/5380
Reviewed-by: Paul Olav Tvete <paul.tvete@nokia.com>
src/plugins/platforms/wayland/gl_integration/xcomposite_egl/qwaylandxcompositeeglwindow.cpp

index a3861ce..6e5afb5 100644 (file)
@@ -128,7 +128,7 @@ void QWaylandXCompositeEGLWindow::createEglSurface()
     }
 
     XSync(m_glxIntegration->xDisplay(),False);
-    mBuffer = new QWaylandXCompositeBuffer(m_glxIntegration->waylandXComposite(),
+    m_buffer = new QWaylandXCompositeBuffer(m_glxIntegration->waylandXComposite(),
                                            (uint32_t)m_xWindow,
                                            size,
                                            m_glxIntegration->waylandDisplay()->argbVisual());