glamor: Make Xv extension initialize at depth 30.
Support x-screens of depth 30, so init doesn't fail. Signed-off-by: Mario Kleiner <mario.kleiner.de@gmail.com> Reviewed-by: Eric Anholt <eric@anholt.net> Reviewed-by: Antoine Martin <antoine@nagafix.co.uk>
This commit is contained in:
parent
efe9e3e9ff
commit
9ab5d91c6c
|
@ -44,10 +44,10 @@
|
|||
#include <X11/extensions/Xv.h>
|
||||
#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
|
||||
|
|
Loading…
Reference in New Issue