mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-03 07:07:23 +00:00
Kernel: Finally stop exposing Region members to the public.
This commit is contained in:
@@ -30,7 +30,7 @@ GraphicsBitmap::GraphicsBitmap(Process& process, const Size& size)
|
||||
m_server_region = server.allocate_region_with_vmo(LinearAddress(), size_in_bytes, move(vmo), 0, "GraphicsBitmap (server)", true, false);
|
||||
m_server_region->set_shared(true);
|
||||
}
|
||||
m_data = (RGBA32*)m_server_region->linearAddress.asPtr();
|
||||
m_data = (RGBA32*)m_server_region->laddr().as_ptr();
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user