From 9ab5d91c6c228e8f5b34e4b30c5104aed6c41958 Mon Sep 17 00:00:00 2001 From: Mario Kleiner Date: Tue, 27 Feb 2018 03:05:26 +0100 Subject: [PATCH] glamor: Make Xv extension initialize at depth 30. Support x-screens of depth 30, so init doesn't fail. Signed-off-by: Mario Kleiner Reviewed-by: Eric Anholt Reviewed-by: Antoine Martin --- hw/xfree86/glamor_egl/glamor_xf86_xv.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hw/xfree86/glamor_egl/glamor_xf86_xv.c b/hw/xfree86/glamor_egl/glamor_xf86_xv.c index 8535fa0c9..5f8bb8f15 100644 --- a/hw/xfree86/glamor_egl/glamor_xf86_xv.c +++ b/hw/xfree86/glamor_egl/glamor_xf86_xv.c @@ -44,10 +44,10 @@ #include #include "fourcc.h" -#define NUM_FORMATS 3 +#define NUM_FORMATS 4 static XF86VideoFormatRec Formats[NUM_FORMATS] = { - {15, TrueColor}, {16, TrueColor}, {24, TrueColor} + {15, TrueColor}, {16, TrueColor}, {24, TrueColor}, {30, TrueColor} }; static void