diff options
author | Dan Williams <dcbw@redhat.com> | 2007-05-09 13:32:42 -0600 |
---|---|---|
committer | Jordan Crouse <jordan.crouse@amd.com> | 2007-05-09 13:32:42 -0600 |
commit | da653c761c9a275cf2b5ff4e087cb0239421c72d (patch) | |
tree | 499dbad08253ae944715ce1fbf871547de5c2d4e /src/amd_lx_rotate.c | |
parent | 8fa5d1e3653f91c0c1409147f7292463554dd9f9 (diff) |
More -Wall warnings fixed
Diffstat (limited to 'src/amd_lx_rotate.c')
-rw-r--r-- | src/amd_lx_rotate.c | 8 |
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; |