summaryrefslogtreecommitdiff
path: root/kms++util/src
diff options
context:
space:
mode:
authorJyri Sarha <jsarha@ti.com>2016-08-15 16:12:49 +0300
committerJyri Sarha <jsarha@ti.com>2016-08-15 16:12:49 +0300
commit235afbde971e6f5deea6b7a78d64b75614e18cab (patch)
tree9bb990890825276a0a96acfdf32a1debee69cb05 /kms++util/src
parent3788242e4fdc57b1421b4721120477ebb2298e52 (diff)
Add missing BGR color formats to draw_test_pattern_part().
Diffstat (limited to 'kms++util/src')
-rw-r--r--kms++util/src/testpat.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/kms++util/src/testpat.cpp b/kms++util/src/testpat.cpp
index 1297e61..519f960 100644
--- a/kms++util/src/testpat.cpp
+++ b/kms++util/src/testpat.cpp
@@ -105,7 +105,9 @@ static void draw_test_pattern_part(IMappedFramebuffer& fb, unsigned start_y, uns
case PixelFormat::ARGB8888:
case PixelFormat::ABGR8888:
case PixelFormat::RGB888:
+ case PixelFormat::BGR888:
case PixelFormat::RGB565:
+ case PixelFormat::BGR565:
for (y = start_y; y < end_y; y++) {
for (x = 0; x < w; x++) {
RGB pixel = get_test_pattern_pixel(fb, x, y);