summaryrefslogtreecommitdiffstats
path: root/minuitwrp/graphics_overlay.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'minuitwrp/graphics_overlay.cpp')
-rw-r--r--minuitwrp/graphics_overlay.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/minuitwrp/graphics_overlay.cpp b/minuitwrp/graphics_overlay.cpp
index 5445b6f62..c59fe907c 100644
--- a/minuitwrp/graphics_overlay.cpp
+++ b/minuitwrp/graphics_overlay.cpp
@@ -583,7 +583,7 @@ static GRSurface* overlay_init(minui_backend* backend) {
if (vi.bits_per_pixel == 16) {
printf("setting GGL_PIXEL_FORMAT_RGB_565\n");
gr_framebuffer.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.format = GGL_PIXEL_FORMAT_BGRA_8888;
} else if (vi.red.offset == 0) {