summaryrefslogtreecommitdiff
path: root/WindowServer/WSWindowManager.cpp
diff options
context:
space:
mode:
authorAndreas Kling <awesomekling@gmail.com>2019-01-24 18:09:46 +0100
committerAndreas Kling <awesomekling@gmail.com>2019-01-24 18:09:46 +0100
commitaa24547e12228633addd5220d4aad55f7754392e (patch)
treed3b1946564934b54ea7ab509e596d0a9314b9bcd /WindowServer/WSWindowManager.cpp
parente683f611f19eb1b32bb68c553efc370f9cadc19d (diff)
downloadserenity-aa24547e12228633addd5220d4aad55f7754392e.zip
Kernel: Finally stop exposing Region members to the public.
Diffstat (limited to 'WindowServer/WSWindowManager.cpp')
-rw-r--r--WindowServer/WSWindowManager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/WindowServer/WSWindowManager.cpp b/WindowServer/WSWindowManager.cpp
index f6e34dd1af..a3cd657cd1 100644
--- a/WindowServer/WSWindowManager.cpp
+++ b/WindowServer/WSWindowManager.cpp
@@ -116,7 +116,7 @@ WSWindowManager::WSWindowManager()
auto size = m_screen_rect.size();
m_front_bitmap = GraphicsBitmap::create_wrapper(size, m_screen.scanline(0));
auto* region = current->allocate_region(LinearAddress(), size.width() * size.height() * sizeof(RGBA32), "BackBitmap", true, true, true);
- m_back_bitmap = GraphicsBitmap::create_wrapper(m_screen_rect.size(), (RGBA32*)region->linearAddress.get());
+ m_back_bitmap = GraphicsBitmap::create_wrapper(m_screen_rect.size(), (RGBA32*)region->laddr().get());
m_front_painter = make<Painter>(*m_front_bitmap);
m_back_painter = make<Painter>(*m_back_bitmap);