diff options
Diffstat (limited to 'src/bootsplash.c')
-rw-r--r-- | src/bootsplash.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/bootsplash.c b/src/bootsplash.c index c572685d..165c98d0 100644 --- a/src/bootsplash.c +++ b/src/bootsplash.c @@ -81,7 +81,8 @@ find_videomode(struct vbe_info *vesa_info, struct vbe_mode_info *mode_info continue; u8 depth = mode_info->bits_per_pixel; if (bpp_req == 0) { - if (depth != 16 && depth != 24 && depth != 32) + if ((depth != 16 && depth != 24 && depth != 32) + || mode_info->green_size == 5) continue; } else { if (depth != bpp_req) |