diff options
Diffstat (limited to 'hw/kdrive/trio/s3curs.c')
-rw-r--r-- | hw/kdrive/trio/s3curs.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/kdrive/trio/s3curs.c b/hw/kdrive/trio/s3curs.c index 2c17b341a..f67b77b4a 100644 --- a/hw/kdrive/trio/s3curs.c +++ b/hw/kdrive/trio/s3curs.c @@ -95,9 +95,9 @@ s3AllocCursorColors (ScreenPtr pScreen) CursorPtr pCursor = pCurPriv->pCursor; xColorItem sourceColor, maskColor; - KdAllocateCursorPixels (pScreen, pCursor, + KdAllocateCursorPixels (pScreen, 0, pCursor, &pCurPriv->source, &pCurPriv->mask); - switch (pScreenPriv->screen->bitsPerPixel) { + switch (pScreenPriv->screen->fb[0].bitsPerPixel) { case 4: pCurPriv->source |= pCurPriv->source << 4; pCurPriv->mask |= pCurPriv->mask << 4; |