summaryrefslogtreecommitdiff
path: root/src/radeon_cursor.c
diff options
context:
space:
mode:
authorAlex Deucher <alex@samba.(none)>2007-12-14 00:20:10 -0500
committerAlex Deucher <alex@samba.(none)>2007-12-14 00:20:10 -0500
commitb3eed3d87f76779b5a62a3115f99a31484dc38e0 (patch)
tree3c3a9f6de744a8fe3783c04f5b9fe4e57a6acf43 /src/radeon_cursor.c
parent814c6c48aebba2e45ce257289b922cd7e92caf2a (diff)
RADEON: fix typo in previous cursor fix
Diffstat (limited to 'src/radeon_cursor.c')
-rw-r--r--src/radeon_cursor.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/radeon_cursor.c b/src/radeon_cursor.c
index 842668be..6133b2cf 100644
--- a/src/radeon_cursor.c
+++ b/src/radeon_cursor.c
@@ -326,7 +326,7 @@ Bool RADEONCursorInit(ScreenPtr pScreen)
cursor_offset = RADEON_ALIGN((fbarea->box.x1 +
fbarea->box.y1 * width) *
info->CurrentLayout.pixel_bytes,
- 256);
+ align);
for (c = 0; c < xf86_config->num_crtc; c++) {
xf86CrtcPtr crtc = xf86_config->crtc[c];