replace PICT_FORMAT_* by PIXMAN_FORMAT_*

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:49:40 +02:00
committed by Enrico Weigelt
parent dedde6b87b
commit f104b52412
2 changed files with 6 additions and 6 deletions

View File

@@ -312,7 +312,7 @@ saa_copy_composite(CARD8 op,
return FALSE;
if (op == PictOpSrc ||
(op == PictOpOver && PICT_FORMAT_A(pSrc->format) == 0 &&
(op == PictOpOver && PIXMAN_FORMAT_A(pSrc->format) == 0 &&
pMask == NULL)) {
int xoff, yoff;

View File

@@ -102,12 +102,12 @@ enum xa_formats vmwgfx_xa_format(PictFormatShort format)
vmwgfx_stype_map[ptype] == xa_type_other)
return xa_format_unknown;
return xa_format(PICT_FORMAT_BPP(format),
return xa_format(PIXMAN_FORMAT_BPP(format),
vmwgfx_stype_map[ptype],
PICT_FORMAT_A(format),
PICT_FORMAT_R(format),
PICT_FORMAT_G(format),
PICT_FORMAT_B(format));
PIXMAN_FORMAT_A(format),
PIXMAN_FORMAT_R(format),
PIXMAN_FORMAT_G(format),
PIXMAN_FORMAT_B(format));
}
/*