1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 06:07:44 +00:00

LibGfx: Rename 32-bit bitmap StorageFormats to BGRA8888 and BGRx8888

This commit is contained in:
Andreas Kling 2021-03-16 12:00:43 +01:00
parent e0f32626bc
commit 5023331726
4 changed files with 21 additions and 21 deletions

View file

@ -79,7 +79,7 @@ void SprayTool::paint_it()
continue;
if (ypos < 0 || ypos >= bitmap.height())
continue;
bitmap.set_pixel<Gfx::StorageFormat::RGBA32>(xpos, ypos, m_color);
bitmap.set_pixel<Gfx::StorageFormat::BGRA8888>(xpos, ypos, m_color);
}
layer->did_modify_bitmap(*m_editor->image());