mirror of
https://github.com/X11Libre/xserver.git
synced 2026-03-24 12:25:07 +00:00
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:
committed by
Enrico Weigelt
parent
803355e874
commit
3cd02f4245
@@ -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:
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user