summaryrefslogtreecommitdiff
path: root/hw/xgl
diff options
context:
space:
mode:
authorDavid Reveman <c99drn@cs.umu.se>2005-02-01 21:22:02 +0000
committerDavid Reveman <c99drn@cs.umu.se>2005-02-01 21:22:02 +0000
commit15c555a25df76e0e95bc8eaa2ca7ec80a7695a6c (patch)
tree03742b7c8c94ccebca3cf987c0a246fc321a2c65 /hw/xgl
parent2f0bdf77dd37d1763c4f4f409d55a6aad6031b9f (diff)
Use negative stride for trapezoid masks in Xgl
Diffstat (limited to 'hw/xgl')
-rw-r--r--hw/xgl/xgl.h2
-rw-r--r--hw/xgl/xgltrap.c3
2 files changed, 2 insertions, 3 deletions
diff --git a/hw/xgl/xgl.h b/hw/xgl/xgl.h
index 930f3d038..eae94a1ac 100644
--- a/hw/xgl/xgl.h
+++ b/hw/xgl/xgl.h
@@ -337,7 +337,7 @@ typedef struct _xglPixmap {
int score;
Bool acceleratedTile;
pointer bits;
- unsigned int stride;
+ int stride;
DamagePtr pDamage;
BoxRec damageBox;
BoxRec bitBox;
diff --git a/hw/xgl/xgltrap.c b/hw/xgl/xgltrap.c
index 723a43225..48d228d35 100644
--- a/hw/xgl/xgltrap.c
+++ b/hw/xgl/xgltrap.c
@@ -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);