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
commit 5023331726
Notes: sideshowbarker 2024-07-18 21:18:36 +09:00
4 changed files with 21 additions and 21 deletions

View file

@ -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: