mirror of
https://github.com/X11Libre/xserver.git
synced 2026-03-24 05:54:08 +00:00
treewide: replace PICT_a8r8g8b8 by PIXMAN_a8r8g8b8
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
6b17a3bfbb
commit
35a43252ca
@@ -1508,7 +1508,7 @@ ProcRenderCreateCursor(ClientPtr client)
|
||||
pScreen->SourceValidate(pSrc->pDrawable, 0, 0, width, height,
|
||||
IncludeInferiors);
|
||||
|
||||
if (pSrc->format == PICT_a8r8g8b8) {
|
||||
if (pSrc->format == PIXMAN_a8r8g8b8) {
|
||||
(*pScreen->GetImage) (pSrc->pDrawable,
|
||||
0, 0, width, height, ZPixmap,
|
||||
0xffffffff, (void *) argbbits);
|
||||
@@ -1519,7 +1519,7 @@ ProcRenderCreateCursor(ClientPtr client)
|
||||
PictFormatPtr pFormat;
|
||||
int error;
|
||||
|
||||
pFormat = PictureMatchFormat(pScreen, 32, PICT_a8r8g8b8);
|
||||
pFormat = PictureMatchFormat(pScreen, 32, PIXMAN_a8r8g8b8);
|
||||
if (!pFormat) {
|
||||
free(argbbits);
|
||||
free(srcbits);
|
||||
|
||||
Reference in New Issue
Block a user