mirror of
https://github.com/X11Libre/xserver.git
synced 2026-04-14 17:18:09 +00:00
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:
committed by
Adam Jackson
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
|
||||
|
||||
Reference in New Issue
Block a user