mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-05-01 07:57:59 +02:00
fix compiler warnings in Xprint/ps/PsPolygon.c
This commit is contained in:
parent
511b231ded
commit
aef092e029
1 changed files with 1 additions and 3 deletions
|
|
@ -215,8 +215,6 @@ PsPolyFillRect(
|
|||
*/
|
||||
if (nRects == 1)
|
||||
{
|
||||
extern Bool noDbeExtension;
|
||||
|
||||
if ( (pRects[0].x==0) && (pRects[0].y==0) &&
|
||||
(pRects[0].width==pDrawable->width) && (pRects[0].height==pDrawable->height) &&
|
||||
(pGC->fillStyle == FillSolid) &&
|
||||
|
|
@ -227,7 +225,7 @@ PsPolyFillRect(
|
|||
#endif /* DEBUG_gismobile */
|
||||
/* Remove all content from the pixmap as it would be covered
|
||||
* by the whole rect anyway */
|
||||
PsScrubPixmap(pDrawable);
|
||||
PsScrubPixmap((PixmapPtr)pDrawable);
|
||||
}
|
||||
}
|
||||
#endif /* DBE */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue