mirror of
https://github.com/X11Libre/xserver.git
synced 2026-03-24 08:04:30 +00:00
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:
committed by
Enrico Weigelt
parent
ae1b649587
commit
7783ae7723
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user