replace PICT_a1 by PIXMAN_a1

Try not to use old compat macros anymore, use the real ones instead.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
Enrico Weigelt, metux IT consult
2025-08-06 12:47:10 +02:00
committed by Enrico Weigelt
parent d671cd96ef
commit 31238d8954

View File

@@ -54,7 +54,7 @@ saa_create_alpha_picture(ScreenPtr pScreen,
if (!pPictFormat) {
if (pDst->polyEdge == PolyEdgeSharp)
pPictFormat = PictureMatchFormat(pScreen, 1, PICT_a1);
pPictFormat = PictureMatchFormat(pScreen, 1, PIXMAN_a1);
else
pPictFormat = PictureMatchFormat(pScreen, 8, PICT_a8);
if (!pPictFormat)
@@ -138,7 +138,7 @@ saa_trapezoids(CARD8 op, PicturePtr pSrc, PicturePtr pDst,
FreePicture(pPicture, 0);
} else {
if (pDst->polyEdge == PolyEdgeSharp)
maskFormat = PictureMatchFormat(pScreen, 1, PICT_a1);
maskFormat = PictureMatchFormat(pScreen, 1, PIXMAN_a1);
else
maskFormat = PictureMatchFormat(pScreen, 8, PICT_a8);
for (; ntrap; ntrap--, traps++)
@@ -198,7 +198,7 @@ saa_triangles(CARD8 op, PicturePtr pSrc, PicturePtr pDst,
FreePicture(pPicture, 0);
} else {
if (pDst->polyEdge == PolyEdgeSharp)
maskFormat = PictureMatchFormat(pScreen, 1, PICT_a1);
maskFormat = PictureMatchFormat(pScreen, 1, PIXMAN_a1);
else
maskFormat = PictureMatchFormat(pScreen, 8, PICT_a8);