mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 05:27:46 +00:00
LibGfx: Remove unused BMPWriter::set_compression()
This has always been unused, and after #8440 BMPWriter::dump() unconditionally writes to m_compression, meaning even if this method was called, it would have no effect.
This commit is contained in:
parent
7bb7d87807
commit
74891ab656
2 changed files with 9 additions and 8 deletions
|
@ -67,7 +67,7 @@ static ByteBuffer write_pixel_data(RefPtr<Bitmap const> bitmap, int pixel_row_da
|
|||
return buffer;
|
||||
}
|
||||
|
||||
static ByteBuffer compress_pixel_data(ByteBuffer const& pixel_data, BMPWriter::Compression compression)
|
||||
ByteBuffer BMPWriter::compress_pixel_data(ByteBuffer const& pixel_data, BMPWriter::Compression compression)
|
||||
{
|
||||
switch (compression) {
|
||||
case BMPWriter::Compression::BI_BITFIELDS:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue