Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- From bd42feac26a1942e8896eb73ffe55b0bab6f5110 Mon Sep 17 00:00:00 2001
- From: =?UTF-8?q?Samuel=20R=C3=B8dal?= <samuel.rodal@nokia.com>
- Date: Tue, 13 Sep 2011 22:59:54 +0200
- Subject: [PATCH] Set the correct buffer pointer (protected member variables are evil).
- Change-Id: I6cdd64fbee5a9b46b44d8fadfc0f443dd1f4b140
- ---
- .../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 320113f..d8f8655 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());
- --
- 1.7.0.4
Add Comment
Please, Sign In to add comment