Skip to content
Commits on Source (3)
xserver-xorg-video-vesa (1:2.4.0-2) unstable; urgency=medium
* Cherry-pick a commit to fix default bpp selection. (LP: #1818879)
-- Timo Aaltonen <tjaalton@debian.org> Fri, 08 Mar 2019 10:46:08 +0200
xserver-xorg-video-vesa (1:2.4.0-1) unstable; urgency=medium
[ Sven Joachim ]
......
......@@ -683,12 +683,14 @@ VESAPreInit(ScrnInfoPtr pScrn, int flags)
V_MODETYPE_VBE);
/* Preferred order for default depth selection. */
if (depths & V_DEPTH_24)
if (depths & V_DEPTH_24 && (flags24 & Support32bppFb))
defaultDepth = 24;
else if (depths & V_DEPTH_16)
defaultDepth = 16;
else if (depths & V_DEPTH_15)
defaultDepth = 15;
else if (depths & V_DEPTH_24)
defaultDepth = 24; /* ew though */
else if (depths & V_DEPTH_8)
defaultDepth = 8;
else if (depths & V_DEPTH_4)
......