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>
This commit is contained in:
Samuel Rødal 2011-09-13 22:59:54 +02:00 committed by Qt by Nokia
parent c298b0b153
commit 3061050b7f

View File

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