Compatibility with xserver 1.20
This commit is contained in:
parent
b29b653e3f
commit
7a92c4a4d9
@ -16635,7 +16635,9 @@ static int sna_create_gc(GCPtr gc)
|
|||||||
|
|
||||||
gc->freeCompClip = 0;
|
gc->freeCompClip = 0;
|
||||||
gc->pCompositeClip = 0;
|
gc->pCompositeClip = 0;
|
||||||
|
#if XORG_VERSION_CURRENT < XORG_VERSION_NUMERIC(1,19,99,1,0)
|
||||||
gc->pRotatedPixmap = 0;
|
gc->pRotatedPixmap = 0;
|
||||||
|
#endif
|
||||||
|
|
||||||
fb_gc(gc)->bpp = bits_per_pixel(gc->depth);
|
fb_gc(gc)->bpp = bits_per_pixel(gc->depth);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user