mirror of
https://github.com/X11Libre/xf86-video-vmware.git
synced 2026-03-23 17:19:24 +00:00
replace PICT_FORMAT_* by PIXMAN_FORMAT_*
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
dedde6b87b
commit
f104b52412
@@ -312,7 +312,7 @@ saa_copy_composite(CARD8 op,
|
||||
return FALSE;
|
||||
|
||||
if (op == PictOpSrc ||
|
||||
(op == PictOpOver && PICT_FORMAT_A(pSrc->format) == 0 &&
|
||||
(op == PictOpOver && PIXMAN_FORMAT_A(pSrc->format) == 0 &&
|
||||
pMask == NULL)) {
|
||||
|
||||
int xoff, yoff;
|
||||
|
||||
@@ -102,12 +102,12 @@ enum xa_formats vmwgfx_xa_format(PictFormatShort format)
|
||||
vmwgfx_stype_map[ptype] == xa_type_other)
|
||||
return xa_format_unknown;
|
||||
|
||||
return xa_format(PICT_FORMAT_BPP(format),
|
||||
return xa_format(PIXMAN_FORMAT_BPP(format),
|
||||
vmwgfx_stype_map[ptype],
|
||||
PICT_FORMAT_A(format),
|
||||
PICT_FORMAT_R(format),
|
||||
PICT_FORMAT_G(format),
|
||||
PICT_FORMAT_B(format));
|
||||
PIXMAN_FORMAT_A(format),
|
||||
PIXMAN_FORMAT_R(format),
|
||||
PIXMAN_FORMAT_G(format),
|
||||
PIXMAN_FORMAT_B(format));
|
||||
}
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user