From 889ded74be67f68eaf32ebdb400b151ec3e6f680 Mon Sep 17 00:00:00 2001 From: "Enrico Weigelt, metux IT consult" Date: Tue, 5 Aug 2025 20:25:31 +0200 Subject: [PATCH] treewide: replace PICT_a1b5g5r5 by PIXMAN_a1b5g5r5 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 0ce4f1afd6..8af4b0e0b5 100644 --- a/glamor/glamor_picture.c +++ b/glamor/glamor_picture.c @@ -174,7 +174,7 @@ glamor_get_tex_format_type_from_pictformat(ScreenPtr pScreen, break; case PIXMAN_x1b5g5r5: - case PICT_a1b5g5r5: + case PIXMAN_a1b5g5r5: *tex_format = GL_RGBA; if (!glamor_priv->is_gles) { *tex_type = GL_UNSIGNED_SHORT_1_5_5_5_REV; diff --git a/render/picture.c b/render/picture.c index 85d40b65e3..e5143752ba 100644 --- a/render/picture.c +++ b/render/picture.c @@ -262,7 +262,7 @@ PictureCreateDefaultFormats(ScreenPtr pScreen, int *nformatp) /* depth 16 formats */ if (pDepth->depth >= 16) { addFormat(formats, &nformats, PICT_a1r5g5b5, pDepth->depth); - addFormat(formats, &nformats, PICT_a1b5g5r5, pDepth->depth); + addFormat(formats, &nformats, PIXMAN_a1b5g5r5, pDepth->depth); addFormat(formats, &nformats, PIXMAN_r5g6b5, pDepth->depth); addFormat(formats, &nformats, PIXMAN_b5g6r5, pDepth->depth); addFormat(formats, &nformats, PICT_a4r4g4b4, pDepth->depth);