From a23fdf9d2fedc8290c72a7b241d424962a5ba0c2 Mon Sep 17 00:00:00 2001 From: "Enrico Weigelt, metux IT consult" Date: Tue, 5 Aug 2025 20:24:54 +0200 Subject: [PATCH] treewide: replace PICT_x1b5g5r5 by PIXMAN_x1b5g5r5 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 1f40087a9a..0ce4f1afd6 100644 --- a/glamor/glamor_picture.c +++ b/glamor/glamor_picture.c @@ -173,7 +173,7 @@ glamor_get_tex_format_type_from_pictformat(ScreenPtr pScreen, } break; - case PICT_x1b5g5r5: + case PIXMAN_x1b5g5r5: case PICT_a1b5g5r5: *tex_format = GL_RGBA; if (!glamor_priv->is_gles) { diff --git a/render/picture.c b/render/picture.c index 6975303a9e..85d40b65e3 100644 --- a/render/picture.c +++ b/render/picture.c @@ -257,7 +257,7 @@ PictureCreateDefaultFormats(ScreenPtr pScreen, int *nformatp) /* depth 15 formats */ if (pDepth->depth >= 15) { addFormat(formats, &nformats, PIXMAN_x1r5g5b5, pDepth->depth); - addFormat(formats, &nformats, PICT_x1b5g5r5, pDepth->depth); + addFormat(formats, &nformats, PIXMAN_x1b5g5r5, pDepth->depth); } /* depth 16 formats */ if (pDepth->depth >= 16) {