From 6948c15499dd809fe4dcc7147011a02bcad65a75 Mon Sep 17 00:00:00 2001 From: "Enrico Weigelt, metux IT consult" Date: Tue, 5 Aug 2025 19:51:26 +0200 Subject: [PATCH] treewide: replace PICT_TYPE_GRAY by PIXMAN_TYPE_GRAY Try not to use old compat macros anymore, use the real ones instead. Signed-off-by: Enrico Weigelt, metux IT consult --- render/picture.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/render/picture.c b/render/picture.c index 5c1cdb9852..046bfe4df5 100644 --- a/render/picture.c +++ b/render/picture.c @@ -235,7 +235,7 @@ PictureCreateDefaultFormats(ScreenPtr pScreen, int *nformatp) break; case StaticGray: case GrayScale: - format = PICT_VISFORMAT(bpp, PICT_TYPE_GRAY, v); + format = PICT_VISFORMAT(bpp, PIXMAN_TYPE_GRAY, v); addFormat(formats, &nformats, format, depth); break; } @@ -376,7 +376,7 @@ PictureCreateDefaultFormats(ScreenPtr pScreen, int *nformatp) break; case PIXMAN_TYPE_COLOR: - case PICT_TYPE_GRAY: + case PIXMAN_TYPE_GRAY: pFormats[f].type = PictTypeIndexed; pFormats[f].index.vid = pScreen->visuals[PIXMAN_FORMAT_VIS(format)].vid; @@ -641,7 +641,7 @@ PictureInit(ScreenPtr pScreen, PictFormatPtr formats, int nformats) if ((pVisual->class | DynamicClass) == PseudoColor) type = PIXMAN_TYPE_COLOR; else - type = PICT_TYPE_GRAY; + type = PIXMAN_TYPE_GRAY; a = r = g = b = 0; } else {