LibGPU+LibSoftGPU: Add PixelFormat::Intensity

This commit is contained in:
Jelle Raaijmakers 2022-08-26 15:55:48 +02:00 committed by Andreas Kling
commit 6c80d12111
Notes: sideshowbarker 2024-07-17 07:41:44 +09:00
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: