Guest User

Untitled

a guest
Nov 25th, 2017
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Diff 1.34 KB | None | 0 0
  1. From bd42feac26a1942e8896eb73ffe55b0bab6f5110 Mon Sep 17 00:00:00 2001
  2. From: =?UTF-8?q?Samuel=20R=C3=B8dal?= <samuel.rodal@nokia.com>
  3. Date: Tue, 13 Sep 2011 22:59:54 +0200
  4. Subject: [PATCH] Set the correct buffer pointer (protected member variables are evil).
  5.  
  6. Change-Id: I6cdd64fbee5a9b46b44d8fadfc0f443dd1f4b140
  7. ---
  8. .../xcomposite_egl/qwaylandxcompositeeglwindow.cpp |    2 +-
  9.  1 files changed, 1 insertions(+), 1 deletions(-)
  10.  
  11. diff --git a/src/plugins/platforms/wayland/gl_integration/xcomposite_egl/qwaylandxcompositeeglwindow.cpp b/src/plugins/platforms/wayland/gl_integration/xcomposite_egl/qwaylandxcompositeeglwindow.cpp
  12. index 320113f..d8f8655 100644
  13. --- a/src/plugins/platforms/wayland/gl_integration/xcomposite_egl/qwaylandxcompositeeglwindow.cpp
  14. +++ b/src/plugins/platforms/wayland/gl_integration/xcomposite_egl/qwaylandxcompositeeglwindow.cpp
  15. @@ -128,7 +128,7 @@ void QWaylandXCompositeEGLWindow::createEglSurface()
  16.      }
  17.  
  18.      XSync(m_glxIntegration->xDisplay(),False);
  19. -    mBuffer = new QWaylandXCompositeBuffer(m_glxIntegration->waylandXComposite(),
  20. +    m_buffer = new QWaylandXCompositeBuffer(m_glxIntegration->waylandXComposite(),
  21.                                             (uint32_t)m_xWindow,
  22.                                             size,
  23.                                             m_glxIntegration->waylandDisplay()->argbVisual());
  24. --
  25. 1.7.0.4
Add Comment
Please, Sign In to add comment