diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2017-03-20 09:36:25 +0000 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2017-03-20 09:46:18 +0000 |
commit | 2452066b7771f120a1d03d9450c96565cf31de10 (patch) | |
tree | 3493288fde47c6fe676f64ccd2e42b8d8c741754 /src/sna/sna_accel.c | |
parent | 7e9e92c86b0fc4c848d164fe571798add5e1e36e (diff) |
sna: Fixup for fb24 xorg ABI change
commit 0803918e64262482035f042e5e1f2a571d3dea1b
Author: Adam Jackson <ajax@redhat.com>
Date: Sat Sep 24 19:40:52 2016 -0400
fb: Remove 24bpp support (v3)
removes the gc.pRotatedPixmap member without a guide to the ABI bump.
Don't initialize pRotatedPixmap out from the start of the unstable tag .
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/sna/sna_accel.c')
-rw-r--r-- | src/sna/sna_accel.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/sna/sna_accel.c b/src/sna/sna_accel.c index 11beb906..25a075cf 100644 --- a/src/sna/sna_accel.c +++ b/src/sna/sna_accel.c @@ -16962,7 +16962,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); |