treewide: replace PICT_FORMAT_BPP by PIXMAN_FORMAT_BPP

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-05 18:48:12 +02:00
committed by Enrico Weigelt
parent ae1b649587
commit 7783ae7723
7 changed files with 12 additions and 12 deletions

View File

@@ -347,18 +347,18 @@ PictureCreateDefaultFormats(ScreenPtr pScreen, int *nformatp)
pFormats[f].direct.blueMask = Mask (PICT_FORMAT_B(format));
pFormats[f].direct.blue =
(PICT_FORMAT_BPP(format) - PICT_FORMAT_B(format));
(PIXMAN_FORMAT_BPP(format) - PICT_FORMAT_B(format));
pFormats[f].direct.greenMask = Mask (PICT_FORMAT_G(format));
pFormats[f].direct.green =
(PICT_FORMAT_BPP(format) - PICT_FORMAT_B(format) -
(PIXMAN_FORMAT_BPP(format) - PICT_FORMAT_B(format) -
PICT_FORMAT_G(format));
pFormats[f].direct.redMask = Mask (PICT_FORMAT_R(format));
pFormats[f].direct.red =
(PICT_FORMAT_BPP(format) - PICT_FORMAT_B(format) -
(PIXMAN_FORMAT_BPP(format) - PICT_FORMAT_B(format) -
PICT_FORMAT_G(format) - PICT_FORMAT_R(format));
pFormats[f].direct.alphaMask = Mask (PIXMAN_FORMAT_A(format));