From 3061050b7f87cf4090facdcbdfe5c3be37ef663e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Samuel=20R=C3=B8dal?= Date: Tue, 13 Sep 2011 22:59:54 +0200 Subject: [PATCH] Set the correct buffer pointer (protected member variables are evil). MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I6cdd64fbee5a9b46b44d8fadfc0f443dd1f4b140 Reviewed-on: http://codereview.qt-project.org/4862 Reviewed-by: Qt Sanity Bot Reviewed-by: Jørgen Lind --- .../xcomposite_egl/qwaylandxcompositeeglwindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/platforms/wayland/gl_integration/xcomposite_egl/qwaylandxcompositeeglwindow.cpp b/src/plugins/platforms/wayland/gl_integration/xcomposite_egl/qwaylandxcompositeeglwindow.cpp index 320113f58d..d8f86551f0 100644 --- a/src/plugins/platforms/wayland/gl_integration/xcomposite_egl/qwaylandxcompositeeglwindow.cpp +++ b/src/plugins/platforms/wayland/gl_integration/xcomposite_egl/qwaylandxcompositeeglwindow.cpp @@ -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());