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());