summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2009-10-07 17:23:36 +1000
committerDave Airlie <airlied@redhat.com>2009-10-07 17:23:36 +1000
commit186bf719c394116341abff471fb4b4803650da9a (patch)
tree2537b1169e6dfb4d2e32984dc2dd13c93a1cb0a9
parente08411af1aa8c7d4233ba593b84360397cdbb307 (diff)
radeon: fix rotation since mixed pixmaps.
Passing null in here stops the mixed pixmap code doing it wrong, but I'm not 100% sure how it is meant to work, we have the same issue with the real front bo by the looks of it.
-rw-r--r--src/drmmode_display.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/drmmode_display.c b/src/drmmode_display.c
index f82dec8..a1ec2c2 100644
--- a/src/drmmode_display.c
+++ b/src/drmmode_display.c
@@ -449,7 +449,7 @@ drmmode_crtc_shadow_create(xf86CrtcPtr crtc, void *data, int width, int height)
pScrn->depth,
pScrn->bitsPerPixel,
rotate_pitch,
- data);
+ NULL);
if (rotate_pixmap == NULL) {
xf86DrvMsg(pScrn->scrnIndex, X_ERROR,