mirror of
https://github.com/openbsd/xenocara.git
synced 2025-12-13 12:49:07 +00:00
Merge another EXA fix from X.Org 1.9.4RC1:
EXA: Pad size of system memory copy for 1x1 pixmaps (bug #32803).
This commit is contained in:
@@ -98,7 +98,7 @@ exaCreatePixmap_mixed(ScreenPtr pScreen, int w, int h, int depth,
|
|||||||
pExaPixmap->use_gpu_copy = FALSE;
|
pExaPixmap->use_gpu_copy = FALSE;
|
||||||
|
|
||||||
if (w == 1 && h == 1) {
|
if (w == 1 && h == 1) {
|
||||||
pExaPixmap->sys_ptr = malloc((pPixmap->drawable.bitsPerPixel + 7) / 8);
|
pExaPixmap->sys_ptr = malloc(paddedWidth);
|
||||||
|
|
||||||
/* Set up damage tracking */
|
/* Set up damage tracking */
|
||||||
pExaPixmap->pDamage = DamageCreate(exaDamageReport_mixed, NULL,
|
pExaPixmap->pDamage = DamageCreate(exaDamageReport_mixed, NULL,
|
||||||
|
|||||||
Reference in New Issue
Block a user