1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 06:17:34 +00:00

LibGPU+LibSoftGPU: Add PixelFormat::Intensity

This commit is contained in:
Jelle Raaijmakers 2022-08-26 15:55:48 +02:00 committed by Andreas Kling
parent e615af886e
commit 6c80d12111
2 changed files with 5 additions and 0 deletions

View file

@ -21,6 +21,7 @@ enum class PixelFormat {
ColorIndex,
DepthComponent,
Green,
Intensity,
Luminance,
LuminanceAlpha,
Red,
@ -77,6 +78,7 @@ static constexpr int number_of_components(PixelFormat format)
case PixelFormat::ColorIndex:
case PixelFormat::DepthComponent:
case PixelFormat::Green:
case PixelFormat::Intensity:
case PixelFormat::Luminance:
case PixelFormat::Red:
case PixelFormat::StencilIndex: