ifdef-protecct duplicate FOURCC_RGB565 and XVIMAGE_RGB565

These are already defined in the xserver headers, but only in
newer versions.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
Enrico Weigelt, metux IT consult
2025-01-29 10:19:54 +01:00
committed by Martin-Éric Racine
parent f33c0d07f3
commit 89ecfe8cf4

View File

@@ -89,7 +89,10 @@
/* Borrowed from Trident */
#ifndef FOURCC_RGB565
#define FOURCC_RGB565 0x36315652
#endif
#ifndef XVIMAGE_RGB565
#define XVIMAGE_RGB565 \
{ \
FOURCC_RGB565, \
@@ -108,5 +111,5 @@
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0},\
XvTopToBottom\
}
#endif
#endif