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);