treewide: replace PICT_FORMAT_VIS by PIXMAN_FORMAT_VIS

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:10:32 +02:00
committed by Enrico Weigelt
parent 803355e874
commit 3cd02f4245
2 changed files with 2 additions and 2 deletions

View File

@@ -755,7 +755,7 @@ combine_pict_format(PictFormatShort * des, const PictFormatShort src,
assert(src_bpp == PIXMAN_FORMAT_BPP(mask));
new_vis = PICT_FORMAT_VIS(src) | PICT_FORMAT_VIS(mask);
new_vis = PIXMAN_FORMAT_VIS(src) | PIXMAN_FORMAT_VIS(mask);
switch (in_ca) {
case glamor_program_alpha_normal:

View File

@@ -379,7 +379,7 @@ PictureCreateDefaultFormats(ScreenPtr pScreen, int *nformatp)
case PICT_TYPE_GRAY:
pFormats[f].type = PictTypeIndexed;
pFormats[f].index.vid =
pScreen->visuals[PICT_FORMAT_VIS(format)].vid;
pScreen->visuals[PIXMAN_FORMAT_VIS(format)].vid;
break;
}
}