summaryrefslogtreecommitdiff
path: root/src/amd_lx_rotate.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/amd_lx_rotate.c')
-rw-r--r--src/amd_lx_rotate.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/amd_lx_rotate.c b/src/amd_lx_rotate.c
index 4458a96..cb28ec4 100644
--- a/src/amd_lx_rotate.c
+++ b/src/amd_lx_rotate.c
@@ -99,6 +99,14 @@ LXUpdateFunc(ScreenPtr pScreen, shadowBufPtr pBuf)
srcOffset += (y * pGeode->Pitch) + (x * (shaBpp >> 3));
switch(pGeode->rotation) {
+ case RR_Rotate_0:
+ dx = x;
+ dy = y;
+ dw = w;
+ dh = h;
+ degrees = 0;
+ break;
+
case RR_Rotate_90:
dx = (pScrni->pScreen->height - 1) - (y + (h-1));
dy = x;