summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms/wayland/gl_integration
diff options
context:
space:
mode:
authorSamuel Rødal <samuel.rodal@nokia.com>2011-09-13 22:59:54 +0200
committerPaul Olav Tvete <paul.tvete@nokia.com>2011-09-22 12:23:10 +0200
commit04867e55eebcc568c93d767e224eb92428c589a1 (patch)
tree4784c3c04fba0277a7bf62cf804aebd7f356c4ba /src/plugins/platforms/wayland/gl_integration
parentf2d658888ff02ba6a8cd001161c6225706c6dcf1 (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> Reviewed-on: http://codereview.qt-project.org/5380 Reviewed-by: Paul Olav Tvete <paul.tvete@nokia.com>
Diffstat (limited to 'src/plugins/platforms/wayland/gl_integration')
-rw-r--r--src/plugins/platforms/wayland/gl_integration/xcomposite_egl/qwaylandxcompositeeglwindow.cpp2
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 a3861ce5a..6e5afb571 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());