This affects the ordering of visuals, which breaks some buggy
applications that assume the first visual is the root window visual.
vncFbptr[0] = pbits;
vncFbstride[0] = vncScreenInfo.fb.paddedWidth;
- miSetPixmapDepths();
-
switch (vncScreenInfo.fb.depth) {
case 16:
miSetVisualTypesAndMasks(16,
return FALSE;
}
+ miSetPixmapDepths();
+
ret = fbScreenInit(pScreen, pbits,
vncScreenInfo.fb.width, vncScreenInfo.fb.height,
dpi, dpi, vncScreenInfo.fb.paddedWidth,