summaryrefslogtreecommitdiffstats
path: root/minuitwrp/graphics_fbdev.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'minuitwrp/graphics_fbdev.cpp')
-rw-r--r--minuitwrp/graphics_fbdev.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/minuitwrp/graphics_fbdev.cpp b/minuitwrp/graphics_fbdev.cpp
index 10ef4fec2..e653c5a4a 100644
--- a/minuitwrp/graphics_fbdev.cpp
+++ b/minuitwrp/graphics_fbdev.cpp
@@ -174,7 +174,7 @@ static GRSurface* fbdev_init(minui_backend* backend) {
if (vi.bits_per_pixel == 16) {
printf("setting GGL_PIXEL_FORMAT_RGB_565\n");
gr_framebuffer[0].format = GGL_PIXEL_FORMAT_RGB_565;
- } else if (vi.red.offset == 8) {
+ } else if (vi.red.offset == 8 || vi.red.offset == 16) {
printf("setting GGL_PIXEL_FORMAT_BGRA_8888\n");
gr_framebuffer[0].format = GGL_PIXEL_FORMAT_BGRA_8888;
} else if (vi.red.offset == 0) {