diff options
author | Matthieu Herrb <matthieu@cvs.openbsd.org> | 2019-07-27 07:44:24 +0000 |
---|---|---|
committer | Matthieu Herrb <matthieu@cvs.openbsd.org> | 2019-07-27 07:44:24 +0000 |
commit | 8e94eb199544f2dadb764e04c11a319d7c6ee2d7 (patch) | |
tree | e335a8e204f8601aacb247dc79f374215d4a4cc1 /driver | |
parent | 8587d11930aefcdb7c828a6cc99f20ae7eab4f38 (diff) |
Compatibility with xserver 1.20
Diffstat (limited to 'driver')
-rw-r--r-- | driver/xf86-video-intel/src/sna/sna_accel.c | 2 |
1 files changed, 2 insertions, 0 deletions
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); |