From fea686a1fccc2a33b194dacf7e6be41ce29b7bab Mon Sep 17 00:00:00 2001 From: "Enrico Weigelt, metux IT consult" Date: Tue, 5 Aug 2025 20:21:56 +0200 Subject: [PATCH] treewide: replace PICT_x8b8g8r8 by PIXMAN_x8b8g8r8 Try not to use old compat macros anymore, use the real ones instead. Signed-off-by: Enrico Weigelt, metux IT consult --- glamor/glamor_picture.c | 2 +- render/picture.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/glamor/glamor_picture.c b/glamor/glamor_picture.c index c965ee301c..764162004f 100644 --- a/glamor/glamor_picture.c +++ b/glamor/glamor_picture.c @@ -124,7 +124,7 @@ glamor_get_tex_format_type_from_pictformat(ScreenPtr pScreen, } break; - case PICT_x8b8g8r8: + case PIXMAN_x8b8g8r8: case PICT_a8b8g8r8: *tex_format = GL_RGBA; if (!glamor_priv->is_gles) { diff --git a/render/picture.c b/render/picture.c index 90a81fa474..ba90f3dd62 100644 --- a/render/picture.c +++ b/render/picture.c @@ -272,7 +272,7 @@ PictureCreateDefaultFormats(ScreenPtr pScreen, int *nformatp) case 32: if (pDepth->depth >= 24) { addFormat(formats, &nformats, PIXMAN_x8r8g8b8, pDepth->depth); - addFormat(formats, &nformats, PICT_x8b8g8r8, pDepth->depth); + addFormat(formats, &nformats, PIXMAN_x8b8g8r8, pDepth->depth); } if (pDepth->depth >= 30) { addFormat(formats, &nformats, PICT_a2r10g10b10, pDepth->depth);