diff options
author | Jelle Raaijmakers <jelle@gmta.nl> | 2022-08-26 15:55:48 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2022-08-27 12:28:05 +0200 |
commit | 6c80d121110e4fcc1c309bd50aabc9825dc75a93 (patch) | |
tree | 0c34ed8e277483627a8ff16da3ad0685764115cb /Userland/Libraries/LibGPU | |
parent | e615af886e233543a387e831b0517fb947f2ab59 (diff) | |
download | serenity-6c80d121110e4fcc1c309bd50aabc9825dc75a93.zip |
LibGPU+LibSoftGPU: Add PixelFormat::Intensity
Diffstat (limited to 'Userland/Libraries/LibGPU')
-rw-r--r-- | Userland/Libraries/LibGPU/ImageFormat.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Userland/Libraries/LibGPU/ImageFormat.h b/Userland/Libraries/LibGPU/ImageFormat.h index 7d4dc86d11..7dc85da9b7 100644 --- a/Userland/Libraries/LibGPU/ImageFormat.h +++ b/Userland/Libraries/LibGPU/ImageFormat.h @@ -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: |