treewide: replace PICT_TYPE_COLOR by PIXMAN_TYPE_COLOR

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 19:50:44 +02:00
committed by Enrico Weigelt
parent 9f4391203f
commit d8a06a2f9f
2 changed files with 4 additions and 4 deletions

View File

@@ -260,7 +260,7 @@ compAddAlternateVisual(ScreenPtr pScreen, CompScreenPtr cs,
/* Initialize the visual */
visual->bitsPerRGBValue = 8;
if (PIXMAN_FORMAT_TYPE(alt->format) == PICT_TYPE_COLOR) {
if (PIXMAN_FORMAT_TYPE(alt->format) == PIXMAN_TYPE_COLOR) {
visual->class = PseudoColor;
visual->nplanes = PIXMAN_FORMAT_BPP(alt->format);
visual->ColormapEntries = 1 << visual->nplanes;