summaryrefslogtreecommitdiff
path: root/src/radeon_cursor.c
diff options
context:
space:
mode:
authorRamon van der Stelt <rvanderstelt@xs4all.nl>2008-11-25 02:23:46 -0500
committerAlex Deucher <alexdeucher@gmail.com>2008-11-25 02:23:46 -0500
commit065938617c0feab17f4274a5350de02a692ba065 (patch)
tree5f13a5adefe35eff56d8e4f3e44a69451b4d2e0b /src/radeon_cursor.c
parent36a7dc6ea1e1929e986ab1159497c71521cb2f10 (diff)
Interlaced mode fixes
see bug 12626
Diffstat (limited to 'src/radeon_cursor.c')
-rw-r--r--src/radeon_cursor.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/radeon_cursor.c b/src/radeon_cursor.c
index 08bfddf4..0fcdcf04 100644
--- a/src/radeon_cursor.c
+++ b/src/radeon_cursor.c
@@ -221,9 +221,7 @@ radeon_crtc_set_cursor_position (xf86CrtcPtr crtc, int x, int y)
OUTREG(AVIVO_D1CUR_HOT_SPOT + radeon_crtc->crtc_offset, (xorigin << 16) | yorigin);
avivo_lock_cursor(crtc, FALSE);
} else {
- if (mode->Flags & V_INTERLACE)
- y /= 2;
- else if (mode->Flags & V_DBLSCAN)
+ if (mode->Flags & V_DBLSCAN)
y *= 2;
if (crtc_id == 0) {