summaryrefslogtreecommitdiff
path: root/Userland/Applications/PixelPaint/SprayTool.cpp
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2021-03-16 12:00:43 +0100
committerAndreas Kling <kling@serenityos.org>2021-03-16 12:00:43 +0100
commit50233317268eaa6eb45b53820a30d4ece7847ae2 (patch)
tree75cbdb45cf7caafa386f53b9a288984e567d5f50 /Userland/Applications/PixelPaint/SprayTool.cpp
parente0f32626bcae634528327e43bcfa59c810c5a3ef (diff)
downloadserenity-50233317268eaa6eb45b53820a30d4ece7847ae2.zip
LibGfx: Rename 32-bit bitmap StorageFormats to BGRA8888 and BGRx8888
Diffstat (limited to 'Userland/Applications/PixelPaint/SprayTool.cpp')
-rw-r--r--Userland/Applications/PixelPaint/SprayTool.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Applications/PixelPaint/SprayTool.cpp b/Userland/Applications/PixelPaint/SprayTool.cpp
index a5d0a176d8..51d5a7e83b 100644
--- a/Userland/Applications/PixelPaint/SprayTool.cpp
+++ b/Userland/Applications/PixelPaint/SprayTool.cpp
@@ -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());