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:
parent
e615af886e
commit
6c80d12111
2 changed files with 5 additions and 0 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue