diff options
author | Alan Hourihane <alanh@fairlite.demon.co.uk> | 2006-06-13 21:42:53 +0100 |
---|---|---|
committer | Alan Hourihane <alanh@fairlite.demon.co.uk> | 2006-06-13 21:42:53 +0100 |
commit | 3592b432b48d51d2273c1e1064f85e656fbba130 (patch) | |
tree | 016f5d584a9fca0ad7a78f5f71ff5db81f47aeea | |
parent | a50610b7719bfe800c3496c17d0ba77739167b35 (diff) |
fix 8bpp & 16bpp rotation modes for i8xx
series chips
-rw-r--r-- | src/i830_rotate.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/i830_rotate.c b/src/i830_rotate.c index e4a80645..4d7237f7 100644 --- a/src/i830_rotate.c +++ b/src/i830_rotate.c @@ -574,9 +574,9 @@ I830UpdateRotate (ScreenPtr pScreen, OUT_RING(pI8301->RotatedMem2.Start | use_fence); if (pI830->cpp == 1) - OUT_RING(0x00 | (pScreen->height - 1) << 21 | (pScreen->width - 1) << 10); - else if (pI830->cpp == 2) OUT_RING(0x40 | (pScreen->height - 1) << 21 | (pScreen->width - 1) << 10); + else if (pI830->cpp == 2) + OUT_RING(0x80 | (pScreen->height - 1) << 21 | (pScreen->width - 1) << 10); else OUT_RING(0xc0 | (pScreen->height - 1) << 21 | (pScreen->width - 1) << 10); |