summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJordan Crouse <jordan.crouse@amd.com>2007-05-04 09:03:26 -0600
committerJordan Crouse <jordan.crouse@amd.com>2007-05-04 10:52:22 -0600
commit1ddbc60536d6e2b7a4654dd9019a3872c1a54de2 (patch)
treef177da3e21cbee0d77fa86efe11ca629c1c42770
parent69501cb09955741a3bb93a0992085cf4f64c70d7 (diff)
Use the same stride for all rotations
This avoids problems copying pixmaps from EXA space.
-rw-r--r--src/amd_lx_rotate.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/amd_lx_rotate.c b/src/amd_lx_rotate.c
index 4c48775..932abf7 100644
--- a/src/amd_lx_rotate.c
+++ b/src/amd_lx_rotate.c
@@ -154,7 +154,7 @@ Bool LXSetRotatePitch(ScrnInfoPtr pScrni)
break;
case RR_Rotate_90:
- pScrni->displayWidth = pScrni->pScreen->width;
+ pScrni->displayWidth = pGeode->displayWidth;
break;
case RR_Rotate_180:
@@ -162,7 +162,7 @@ Bool LXSetRotatePitch(ScrnInfoPtr pScrni)
break;
case RR_Rotate_270:
- pScrni->displayWidth = pScrni->pScreen->width;
+ pScrni->displayWidth = pGeode->displayWidth;
break;
}