mirror of
https://github.com/X11Libre/xserver.git
synced 2026-01-26 22:12:23 +00:00
treewide: replace PICT_TYPE_OTHER by PIXMAN_TYPE_OTHER
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:
parent
6948c15499
commit
cd4e80da8d
@ -204,7 +204,7 @@ PictureCreateDefaultFormats(ScreenPtr pScreen, int *nformatp)
|
||||
r = Ones(pVisual->redMask);
|
||||
g = Ones(pVisual->greenMask);
|
||||
b = Ones(pVisual->blueMask);
|
||||
type = PICT_TYPE_OTHER;
|
||||
type = PIXMAN_TYPE_OTHER;
|
||||
/*
|
||||
* Current rendering code supports only three direct formats,
|
||||
* fields must be packed together at the bottom of the pixel
|
||||
@ -223,7 +223,7 @@ PictureCreateDefaultFormats(ScreenPtr pScreen, int *nformatp)
|
||||
pVisual->offsetBlue == bpp - b) {
|
||||
type = PIXMAN_TYPE_BGRA;
|
||||
}
|
||||
if (type != PICT_TYPE_OTHER) {
|
||||
if (type != PIXMAN_TYPE_OTHER) {
|
||||
format = PICT_FORMAT(bpp, type, 0, r, g, b);
|
||||
addFormat(formats, &nformats, format, depth);
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user