summaryrefslogtreecommitdiff
path: root/src/drmmode_display.c
diff options
context:
space:
mode:
authorAlex Deucher <alexdeucher@gmail.com>2010-10-19 17:13:06 -0400
committerAlex Deucher <alexdeucher@gmail.com>2010-10-19 17:13:06 -0400
commit0f184630cd4760199430320215e4280438fc4ce5 (patch)
treea100a3d52a8632474f6f66c2b9ca777a604d97aa /src/drmmode_display.c
parent179b0e15924ae2757efaece6488ae835ba6436e3 (diff)
radeon: fix compilation on xserver >= 1.10
Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=30451 Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
Diffstat (limited to 'src/drmmode_display.c')
-rw-r--r--src/drmmode_display.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/drmmode_display.c b/src/drmmode_display.c
index baadec1b..37010cd8 100644
--- a/src/drmmode_display.c
+++ b/src/drmmode_display.c
@@ -1149,10 +1149,9 @@ drmmode_xf86crtc_resize (ScrnInfoPtr scrn, int width, int height)
width, height, -1, -1, pitch * cpp,
info->fb_shadow);
}
+#if XORG_VERSION_CURRENT < XORG_VERSION_NUMERIC(1,9,99,1,0)
scrn->pixmapPrivate.ptr = ppix->devPrivate.ptr;
-
- // xf86DrvMsg(scrn->scrnIndex, X_INFO, "New front buffer at 0x%lx\n",
- // info->front_bo-);
+#endif
for (i = 0; i < xf86_config->num_crtc; i++) {
xf86CrtcPtr crtc = xf86_config->crtc[i];