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;
|
||||
Bool acceleratedTile;
|
||||
pointer bits;
|
||||
unsigned int stride;
|
||||
int stride;
|
||||
DamagePtr pDamage;
|
||||
BoxRec damageBox;
|
||||
BoxRec bitBox;
|
||||
|
|
|
@ -74,10 +74,9 @@ xglCreateMaskPicture (ScreenPtr pScreen,
|
|||
|
||||
pPixmapPriv->target = xglPixmapTargetNo;
|
||||
|
||||
/* force negative stride
|
||||
/* force negative stride */
|
||||
if (pPixmapPriv->stride > 0)
|
||||
pPixmapPriv->stride = -pPixmapPriv->stride;
|
||||
*/
|
||||
}
|
||||
|
||||
pGC = GetScratchGC (pPixmap->drawable.depth, pScreen);
|
||||
|
|
Loading…
Reference in New Issue