sna: drop duplicate definition of FOURCC_RGB565

> sna_video.h:39: warning: "FOURCC_RGB565" redefined
>    39 | #define FOURCC_RGB565 ((16 << 24) + ('B' << 16) + ('G' << 8) + 'R')
>       |
> In file included from sna_video.h:32:
> /usr/include/xorg/fourcc.h:199: note: this is the location of the previous definition
>   199 | #define FOURCC_RGB565 0x36314752
>       |

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
Enrico Weigelt, metux IT consult
2026-01-12 15:33:09 +01:00
parent 9e5ef5d1a6
commit 5b4f99be7a

View File

@@ -36,7 +36,6 @@ THE USE OR OTHER DEALINGS IN THE SOFTWARE.
#endif
#define FOURCC_XVMC (('C' << 24) + ('M' << 16) + ('V' << 8) + 'X')
#define FOURCC_RGB565 ((16 << 24) + ('B' << 16) + ('G' << 8) + 'R')
#define FOURCC_RGB888 ((24 << 24) + ('B' << 16) + ('G' << 8) + 'R')
#ifndef FOURCC_NV12
#define FOURCC_NV12 (('2' << 24) + ('1' << 16) + ('V' << 8) + 'N')