From bb6fa39eb3aa044ffc18632288fd59909ff06344 Mon Sep 17 00:00:00 2001 From: Adam Jackson Date: Thu, 16 Jul 2009 17:43:31 -0400 Subject: [PATCH] dbe: Adapt to new headers --- dbe/dbestruct.h | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/dbe/dbestruct.h b/dbe/dbestruct.h index e067f3761..38b4440d9 100644 --- a/dbe/dbestruct.h +++ b/dbe/dbestruct.h @@ -37,10 +37,24 @@ /* INCLUDES */ #define NEED_DBE_PROTOCOL -#include +#include #include "windowstr.h" #include "privates.h" +typedef struct +{ + VisualID visual; /* one visual ID that supports double-buffering */ + int depth; /* depth of visual in bits */ + int perflevel; /* performance level of visual */ +} +XdbeVisualInfo; + +typedef struct +{ + int count; /* number of items in visual_depth */ + XdbeVisualInfo *visinfo; /* list of visuals & depths for scrn */ +} +XdbeScreenVisualInfo; /* DEFINES */