summaryrefslogtreecommitdiff
path: root/hw/xquartz/darwin.h
diff options
context:
space:
mode:
authorJeremy Huddleston <jeremyhu@freedesktop.org>2009-07-31 15:32:07 -0700
committerJeremy Huddleston <jeremyhu@freedesktop.org>2009-07-31 15:34:13 -0700
commitae65daab080c6269f0eadc6be1a48bf27866c542 (patch)
tree4f32c5d07f08094dab8b62d028748f5fa56df004 /hw/xquartz/darwin.h
parent4a53fed41d711f270c7d8a7fbeaafb4fb619e879 (diff)
XQuartz: Unify how we set our bitmasks for visuals
(cherry picked from commit c230b52c27ce50ac6c27011ec8e88f1b263b25f9)
Diffstat (limited to 'hw/xquartz/darwin.h')
-rw-r--r--hw/xquartz/darwin.h17
1 files changed, 1 insertions, 16 deletions
diff --git a/hw/xquartz/darwin.h b/hw/xquartz/darwin.h
index 7fb9396e5..586044fba 100644
--- a/hw/xquartz/darwin.h
+++ b/hw/xquartz/darwin.h
@@ -36,22 +36,7 @@
#include "threadSafety.h"
-typedef struct {
- void *framebuffer;
- int x;
- int y;
- int width;
- int height;
- int pitch;
- int depth;
- int visuals;
- int bitsPerRGB;
- int bitsPerPixel;
- int preferredCVC;
- Pixel redMask;
- Pixel greenMask;
- Pixel blueMask;
-} DarwinFramebufferRec, *DarwinFramebufferPtr;
+#include "darwinfb.h"
// From darwin.c
void DarwinPrintBanner(void);