diff options
author | Andreas Kling <kling@serenityos.org> | 2021-03-16 12:00:43 +0100 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-03-16 12:00:43 +0100 |
commit | 50233317268eaa6eb45b53820a30d4ece7847ae2 (patch) | |
tree | 75cbdb45cf7caafa386f53b9a288984e567d5f50 /Userland/Libraries/LibGfx/Bitmap.cpp | |
parent | e0f32626bcae634528327e43bcfa59c810c5a3ef (diff) | |
download | serenity-50233317268eaa6eb45b53820a30d4ece7847ae2.zip |
LibGfx: Rename 32-bit bitmap StorageFormats to BGRA8888 and BGRx8888
Diffstat (limited to 'Userland/Libraries/LibGfx/Bitmap.cpp')
-rw-r--r-- | Userland/Libraries/LibGfx/Bitmap.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Userland/Libraries/LibGfx/Bitmap.cpp b/Userland/Libraries/LibGfx/Bitmap.cpp index 09e1505de5..5612fae972 100644 --- a/Userland/Libraries/LibGfx/Bitmap.cpp +++ b/Userland/Libraries/LibGfx/Bitmap.cpp @@ -64,8 +64,8 @@ size_t Bitmap::minimum_pitch(size_t physical_width, BitmapFormat format) case StorageFormat::Indexed8: element_size = 1; break; - case StorageFormat::RGB32: - case StorageFormat::RGBA32: + case StorageFormat::BGRx8888: + case StorageFormat::BGRA8888: element_size = 4; break; default: |