From 7a92c4a4d955ce7b61677a7f970a463751e047c8 Mon Sep 17 00:00:00 2001 From: matthieu Date: Sat, 27 Jul 2019 07:44:23 +0000 Subject: [PATCH] Compatibility with xserver 1.20 --- driver/xf86-video-intel/src/sna/sna_accel.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/driver/xf86-video-intel/src/sna/sna_accel.c b/driver/xf86-video-intel/src/sna/sna_accel.c index 867caae6e..0e8519534 100644 --- a/driver/xf86-video-intel/src/sna/sna_accel.c +++ b/driver/xf86-video-intel/src/sna/sna_accel.c @@ -16635,7 +16635,9 @@ static int sna_create_gc(GCPtr gc) gc->freeCompClip = 0; gc->pCompositeClip = 0; +#if XORG_VERSION_CURRENT < XORG_VERSION_NUMERIC(1,19,99,1,0) gc->pRotatedPixmap = 0; +#endif fb_gc(gc)->bpp = bits_per_pixel(gc->depth);