diff options
author | Samuel Rødal <samuel.rodal@nokia.com> | 2011-09-13 22:59:54 +0200 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2011-09-17 03:20:37 +0200 |
commit | 3061050b7f87cf4090facdcbdfe5c3be37ef663e (patch) | |
tree | 42b48c660329976b4c5aec9ac03d5c7eec947f27 /src | |
parent | c298b0b153b91505b83d2a5f105194b18ae0d710 (diff) |
Set the correct buffer pointer (protected member variables are evil).
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>
Diffstat (limited to 'src')
-rw-r--r-- | src/plugins/platforms/wayland/gl_integration/xcomposite_egl/qwaylandxcompositeeglwindow.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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()); |