diff options
Diffstat (limited to 'unix/xserver/hw')
-rw-r--r-- | unix/xserver/hw/vnc/xvnc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/unix/xserver/hw/vnc/xvnc.c b/unix/xserver/hw/vnc/xvnc.c index c07f6899..16a28831 100644 --- a/unix/xserver/hw/vnc/xvnc.c +++ b/unix/xserver/hw/vnc/xvnc.c @@ -992,8 +992,6 @@ vncScreenInit(ScreenPtr pScreen, int argc, char **argv) vncFbptr[0] = pbits; vncFbstride[0] = vncScreenInfo.fb.paddedWidth; - miSetPixmapDepths(); - switch (vncScreenInfo.fb.depth) { case 16: miSetVisualTypesAndMasks(16, @@ -1018,6 +1016,8 @@ vncScreenInit(ScreenPtr pScreen, int argc, char **argv) return FALSE; } + miSetPixmapDepths(); + ret = fbScreenInit(pScreen, pbits, vncScreenInfo.fb.width, vncScreenInfo.fb.height, dpi, dpi, vncScreenInfo.fb.paddedWidth, |