summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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];