Use negative stride for trapezoid masks in Xgl
This commit is contained in:
parent
2f0bdf77dd
commit
15c555a25d
|
@ -337,7 +337,7 @@ typedef struct _xglPixmap {
|
||||||
int score;
|
int score;
|
||||||
Bool acceleratedTile;
|
Bool acceleratedTile;
|
||||||
pointer bits;
|
pointer bits;
|
||||||
unsigned int stride;
|
int stride;
|
||||||
DamagePtr pDamage;
|
DamagePtr pDamage;
|
||||||
BoxRec damageBox;
|
BoxRec damageBox;
|
||||||
BoxRec bitBox;
|
BoxRec bitBox;
|
||||||
|
|
|
@ -74,10 +74,9 @@ xglCreateMaskPicture (ScreenPtr pScreen,
|
||||||
|
|
||||||
pPixmapPriv->target = xglPixmapTargetNo;
|
pPixmapPriv->target = xglPixmapTargetNo;
|
||||||
|
|
||||||
/* force negative stride
|
/* force negative stride */
|
||||||
if (pPixmapPriv->stride > 0)
|
if (pPixmapPriv->stride > 0)
|
||||||
pPixmapPriv->stride = -pPixmapPriv->stride;
|
pPixmapPriv->stride = -pPixmapPriv->stride;
|
||||||
*/
|
|
||||||
}
|
}
|
||||||
|
|
||||||
pGC = GetScratchGC (pPixmap->drawable.depth, pScreen);
|
pGC = GetScratchGC (pPixmap->drawable.depth, pScreen);
|
||||||
|
|
Loading…
Reference in New Issue