mirror of
https://github.com/X11Libre/xf86-video-vmware.git
synced 2026-03-24 01:24:37 +00:00
replace PICT_a8 by PIXMAN_a8
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
31238d8954
commit
dedde6b87b
@@ -56,7 +56,7 @@ saa_create_alpha_picture(ScreenPtr pScreen,
|
||||
if (pDst->polyEdge == PolyEdgeSharp)
|
||||
pPictFormat = PictureMatchFormat(pScreen, 1, PIXMAN_a1);
|
||||
else
|
||||
pPictFormat = PictureMatchFormat(pScreen, 8, PICT_a8);
|
||||
pPictFormat = PictureMatchFormat(pScreen, 8, PIXMAN_a8);
|
||||
if (!pPictFormat)
|
||||
return 0;
|
||||
}
|
||||
@@ -140,7 +140,7 @@ saa_trapezoids(CARD8 op, PicturePtr pSrc, PicturePtr pDst,
|
||||
if (pDst->polyEdge == PolyEdgeSharp)
|
||||
maskFormat = PictureMatchFormat(pScreen, 1, PIXMAN_a1);
|
||||
else
|
||||
maskFormat = PictureMatchFormat(pScreen, 8, PICT_a8);
|
||||
maskFormat = PictureMatchFormat(pScreen, 8, PIXMAN_a8);
|
||||
for (; ntrap; ntrap--, traps++)
|
||||
saa_trapezoids(op, pSrc, pDst, maskFormat, xSrc, ySrc, 1, traps);
|
||||
}
|
||||
@@ -200,7 +200,7 @@ saa_triangles(CARD8 op, PicturePtr pSrc, PicturePtr pDst,
|
||||
if (pDst->polyEdge == PolyEdgeSharp)
|
||||
maskFormat = PictureMatchFormat(pScreen, 1, PIXMAN_a1);
|
||||
else
|
||||
maskFormat = PictureMatchFormat(pScreen, 8, PICT_a8);
|
||||
maskFormat = PictureMatchFormat(pScreen, 8, PIXMAN_a8);
|
||||
|
||||
for (; ntri; ntri--, tris++)
|
||||
saa_triangles(op, pSrc, pDst, maskFormat, xSrc, ySrc, 1, tris);
|
||||
|
||||
Reference in New Issue
Block a user