diff options
Diffstat (limited to 'hw/xnest/GCOps.c')
-rw-r--r-- | hw/xnest/GCOps.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/hw/xnest/GCOps.c b/hw/xnest/GCOps.c index ad9668ec1..6b76fc28b 100644 --- a/hw/xnest/GCOps.c +++ b/hw/xnest/GCOps.c @@ -131,8 +131,8 @@ xnestBitBlitHelper(GCPtr pGC) BoxRec Box; Bool pending, overlap; - pReg = REGION_CREATE(pGC->pScreen, NULL, 1); - pTmpReg = REGION_CREATE(pGC->pScreen, NULL, 1); + pReg = RegionCreate(NULL, 1); + pTmpReg = RegionCreate(NULL, 1); if(!pReg || !pTmpReg) return NullRegion; pending = True; @@ -149,15 +149,15 @@ xnestBitBlitHelper(GCPtr pGC) Box.y1 = event.xgraphicsexpose.y; Box.x2 = event.xgraphicsexpose.x + event.xgraphicsexpose.width; Box.y2 = event.xgraphicsexpose.y + event.xgraphicsexpose.height; - REGION_RESET(pGC->pScreen, pTmpReg, &Box); - REGION_APPEND(pGC->pScreen, pReg, pTmpReg); + RegionReset(pTmpReg, &Box); + RegionAppend(pReg, pTmpReg); pending = event.xgraphicsexpose.count; break; } } - REGION_DESTROY(pGC->pScreen, pTmpReg); - REGION_VALIDATE(pGC->pScreen, pReg, &overlap); + RegionDestroy(pTmpReg); + RegionValidate(pReg, &overlap); return(pReg); } } |