diff options
Diffstat (limited to 'libkms++')
-rw-r--r-- | libkms++/dumbframebuffer.cpp | 1 | ||||
-rw-r--r-- | libkms++/pixelformats.h | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/libkms++/dumbframebuffer.cpp b/libkms++/dumbframebuffer.cpp index 4e3b56b..cb815da 100644 --- a/libkms++/dumbframebuffer.cpp +++ b/libkms++/dumbframebuffer.cpp @@ -61,6 +61,7 @@ static const map<PixelFormat, FormatInfo> format_info_array = { { PixelFormat::RGB565, { 1, { { 16, 1, 1 } }, } }, /* RGB32 */ { PixelFormat::XRGB8888, { 1, { { 32, 1, 1 } }, } }, + { PixelFormat::XBGR8888, { 1, { { 32, 1, 1 } }, } }, }; void DumbFramebuffer::Create() diff --git a/libkms++/pixelformats.h b/libkms++/pixelformats.h index 25fdecb..6741ea4 100644 --- a/libkms++/pixelformats.h +++ b/libkms++/pixelformats.h @@ -14,6 +14,7 @@ enum class PixelFormat : uint32_t UYVY = MakeFourCC("UYVY"), YUYV = MakeFourCC("YUYV"), XRGB8888 = MakeFourCC("XR24"), + XBGR8888 = MakeFourCC("XB24"), RGB565 = MakeFourCC("RG16"), }; |