summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2012-06-28 13:40:08 +0100
committerDave Airlie <airlied@redhat.com>2012-09-20 14:33:48 +1000
commit0e7d9cb8db1843ff3de0021d5dbeeffdbfcabb2b (patch)
treed8a9944b71269e800beb775d83e2843d60de9dac
parent5ee04fa48ee641a029a60ec1b92524f9ce1ea8de (diff)
fix visuals
-rw-r--r--dix/impedance.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dix/impedance.c b/dix/impedance.c
index 0008268dd..1943625c4 100644
--- a/dix/impedance.c
+++ b/dix/impedance.c
@@ -1194,7 +1194,7 @@ Bool impedFinishScreenInit(ScreenPtr pScreen,
rootdepth = 0;
if (!miInitVisuals(&visuals, &depths, &nvisuals, &ndepths, &rootdepth,
- &defaultVisual, 8, ((unsigned long)1<<(imagebpp - 1)), -1))
+ &defaultVisual, ((unsigned long)1<<(imagebpp - 1)), 8, -1))
return FALSE;
if (!miScreenInit(pScreen, NULL, xsize, ysize, dpix, dpiy, width,
rootdepth, ndepths, depths, defaultVisual,