treewide: replace PICT_a4r4g4b4 by PIXMAN_a4r4g4b4

Try not to use old compat macros anymore, use the real ones instead.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
Enrico Weigelt, metux IT consult
2025-08-06 12:14:06 +02:00
committed by Enrico Weigelt
parent 4295cf6817
commit c2a4f0033c
2 changed files with 2 additions and 2 deletions

View File

@@ -199,7 +199,7 @@ glamor_get_tex_format_type_from_pictformat(ScreenPtr pScreen,
break;
case PIXMAN_x4r4g4b4:
case PICT_a4r4g4b4:
case PIXMAN_a4r4g4b4:
if (!glamor_priv->is_gles) {
*tex_format = GL_BGRA;
*tex_type = GL_UNSIGNED_SHORT_4_4_4_4_REV;

View File

@@ -265,7 +265,7 @@ PictureCreateDefaultFormats(ScreenPtr pScreen, int *nformatp)
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);
addFormat(formats, &nformats, PIXMAN_a4r4g4b4, pDepth->depth);
addFormat(formats, &nformats, PICT_a4b4g4r4, pDepth->depth);
}
break;