mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-31 21:29:06 +00:00
LibGfx: Rename 32-bit bitmap StorageFormats to BGRA8888 and BGRx8888
This commit is contained in:
parent
e0f32626bc
commit
5023331726
Notes:
sideshowbarker
2024-07-18 21:18:36 +09:00
Author: https://github.com/awesomekling
Commit: 5023331726
4 changed files with 21 additions and 21 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue