diff options
author | Andreas Kling <awesomekling@gmail.com> | 2019-01-24 18:09:46 +0100 |
---|---|---|
committer | Andreas Kling <awesomekling@gmail.com> | 2019-01-24 18:09:46 +0100 |
commit | aa24547e12228633addd5220d4aad55f7754392e (patch) | |
tree | d3b1946564934b54ea7ab509e596d0a9314b9bcd /WindowServer/WSWindowManager.cpp | |
parent | e683f611f19eb1b32bb68c553efc370f9cadc19d (diff) | |
download | serenity-aa24547e12228633addd5220d4aad55f7754392e.zip |
Kernel: Finally stop exposing Region members to the public.
Diffstat (limited to 'WindowServer/WSWindowManager.cpp')
-rw-r--r-- | WindowServer/WSWindowManager.cpp | 2 |
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); |