mirror of
https://github.com/X11Libre/xserver.git
synced 2026-11-08 04:16:22 +00:00
treewide: replace PICT_TYPE_OTHER by PIXMAN_TYPE_OTHER
Some checks are pending
Build X servers / xserver-build-ubuntu (push) Waiting to run
Build X servers / drivers-build-ubuntu (push) Waiting to run
Build X servers / xserver-build-mingw32-ubuntu (push) Waiting to run
Build X servers / xserver-build-macos (push) Waiting to run
Build X servers / xserver-build-freebsd (push) Waiting to run
Build X servers / Release pushed tag (push) Waiting to run
Some checks are pending
Build X servers / xserver-build-ubuntu (push) Waiting to run
Build X servers / drivers-build-ubuntu (push) Waiting to run
Build X servers / xserver-build-mingw32-ubuntu (push) Waiting to run
Build X servers / xserver-build-macos (push) Waiting to run
Build X servers / xserver-build-freebsd (push) Waiting to run
Build X servers / Release pushed tag (push) Waiting to run
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
1 changed files with 2 additions and 2 deletions
|
|
@ -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…
Reference in a new issue