mirror of
https://github.com/X11Libre/xserver.git
synced 2026-04-14 17:18:09 +00:00
treewide: replace PICT_a4b4g4r4 by PIXMAN_a4b4g4r4
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
5d96eba31b
commit
dbe4339fd7
@@ -211,7 +211,7 @@ glamor_get_tex_format_type_from_pictformat(ScreenPtr pScreen,
|
||||
break;
|
||||
|
||||
case PIXMAN_x4b4g4r4:
|
||||
case PICT_a4b4g4r4:
|
||||
case PIXMAN_a4b4g4r4:
|
||||
if (!glamor_priv->is_gles) {
|
||||
*tex_format = GL_RGBA;
|
||||
*tex_type = GL_UNSIGNED_SHORT_4_4_4_4_REV;
|
||||
|
||||
@@ -266,7 +266,7 @@ PictureCreateDefaultFormats(ScreenPtr pScreen, int *nformatp)
|
||||
addFormat(formats, &nformats, PIXMAN_r5g6b5, pDepth->depth);
|
||||
addFormat(formats, &nformats, PIXMAN_b5g6r5, pDepth->depth);
|
||||
addFormat(formats, &nformats, PIXMAN_a4r4g4b4, pDepth->depth);
|
||||
addFormat(formats, &nformats, PICT_a4b4g4r4, pDepth->depth);
|
||||
addFormat(formats, &nformats, PIXMAN_a4b4g4r4, pDepth->depth);
|
||||
}
|
||||
break;
|
||||
case 32:
|
||||
|
||||
Reference in New Issue
Block a user