1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-28 07:47:34 +00:00

LibGfx: Remove a redundant copy of all data when writing a BMP

This commit is contained in:
Nico Weber 2023-03-12 12:15:08 -04:00 committed by Jelle Raaijmakers
parent f1a3028ef1
commit 833d0d95c9
2 changed files with 3 additions and 3 deletions

View file

@ -37,7 +37,7 @@ private:
BI_BITFIELDS = 3,
};
static ByteBuffer compress_pixel_data(ByteBuffer const&, Compression);
static ByteBuffer compress_pixel_data(ByteBuffer, Compression);
Compression m_compression { Compression::BI_BITFIELDS };