mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 21:08:12 +00:00
LibGfx+LibGUI+WindowServer: Use move() on Core::AnonymousBuffer more
This commit is contained in:
parent
4cb0bbef9d
commit
86d0145260
3 changed files with 5 additions and 5 deletions
|
@ -682,7 +682,7 @@ void ClientConnection::set_window_backing_store(i32 window_id, [[maybe_unused]]
|
|||
}
|
||||
auto backing_store = Gfx::Bitmap::create_with_anonymous_buffer(
|
||||
has_alpha_channel ? Gfx::BitmapFormat::BGRA8888 : Gfx::BitmapFormat::BGRx8888,
|
||||
buffer,
|
||||
move(buffer),
|
||||
size,
|
||||
1,
|
||||
{});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue