1
Fork 0
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:
Andreas Kling 2021-07-07 17:33:35 +02:00
parent 4cb0bbef9d
commit 86d0145260
3 changed files with 5 additions and 5 deletions

View file

@ -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,
{});