xv: change FOURCC_RGBA32 to AMD one

Initally we used value of DRM_FORMAT_ARGB8888, but it seems than
xf86-video-ati has established other value for years. So, change it to
well established one.

Because we define a different values, this breaks compilation of xf86-video-ati.
I am unsure, who is right in this situation, but I guess better to use
an established value, to make AMD xorg driver compile.

I do not aware about any of the side effects of this change.

Fixes: 15412e78c8 - glamor: xv: add rgba32 format
Signed-off-by: Konstantin <ria.freelander@gmail.com>
This commit is contained in:
Konstantin 2024-02-25 02:53:56 +03:00
parent 386b54fbe9
commit 6f46db3666

View file

@ -176,7 +176,7 @@
XvTopToBottom \
}
#define FOURCC_RGBA32 0x34325241
#define FOURCC_RGBA32 0x41424752
#define XVIMAGE_RGB32 \
{ \
FOURCC_RGBA32, \