From 31238d8954387ac4630d15e79f3a7071cc231685 Mon Sep 17 00:00:00 2001 From: "Enrico Weigelt, metux IT consult" Date: Wed, 6 Aug 2025 12:47:10 +0200 Subject: [PATCH] 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 --- saa/saa_render.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/saa/saa_render.c b/saa/saa_render.c index 5a6b899..9e26e70 100644 --- a/saa/saa_render.c +++ b/saa/saa_render.c @@ -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);