summaryrefslogtreecommitdiff
path: root/kms++/src
diff options
context:
space:
mode:
Diffstat (limited to 'kms++/src')
-rw-r--r--kms++/src/pixelformats.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/kms++/src/pixelformats.cpp b/kms++/src/pixelformats.cpp
index 84ea924..819853b 100644
--- a/kms++/src/pixelformats.cpp
+++ b/kms++/src/pixelformats.cpp
@@ -26,6 +26,9 @@ static const map<PixelFormat, PixelFormatInfo> format_info_array = {
{ PixelFormat::XBGR8888, { 1, { { 32, 1, 1 } }, } },
{ PixelFormat::ARGB8888, { 1, { { 32, 1, 1 } }, } },
{ PixelFormat::ABGR8888, { 1, { { 32, 1, 1 } }, } },
+
+ { PixelFormat::ARGB4444, { 1, { { 16, 1, 1 } }, } },
+ { PixelFormat::ARGB1555, { 1, { { 16, 1, 1 } }, } },
};
const struct PixelFormatInfo& get_pixel_format_info(PixelFormat format)