From 3e81c965a468dfb01615d5ec68812bcdca147faa Mon Sep 17 00:00:00 2001 From: Matthieu Herrb Date: Tue, 9 Aug 2016 18:59:56 +0000 Subject: Update to xserver 1.18.4 tested by krw@ and dcoppa@ ok dcoppa@ --- xserver/exa/exa_render.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'xserver/exa/exa_render.c') diff --git a/xserver/exa/exa_render.c b/xserver/exa/exa_render.c index fc3ddea79..b24bec052 100644 --- a/xserver/exa/exa_render.c +++ b/xserver/exa/exa_render.c @@ -1141,7 +1141,8 @@ exaTrapezoids(CARD8 op, PicturePtr pSrc, PicturePtr pDst, exaPrepareAccess(pPicture->pDrawable, EXA_PREPARE_DEST); for (; ntrap; ntrap--, traps++) - (*ps->RasterizeTrapezoid) (pPicture, traps, -bounds.x1, -bounds.y1); + if (xTrapezoidValid(traps)) + (*ps->RasterizeTrapezoid) (pPicture, traps, -bounds.x1, -bounds.y1); exaFinishAccess(pPicture->pDrawable, EXA_PREPARE_DEST); xRel = bounds.x1 + xSrc - xDst; -- cgit v1.2.3