mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 17:27:35 +00:00
LibGfx: Rename 32-bit bitmap StorageFormats to BGRA8888 and BGRx8888
This commit is contained in:
parent
e0f32626bc
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