summaryrefslogtreecommitdiff
path: root/hw/xquartz/darwinfb.h
diff options
context:
space:
mode:
Diffstat (limited to 'hw/xquartz/darwinfb.h')
-rw-r--r--hw/xquartz/darwinfb.h30
1 files changed, 15 insertions, 15 deletions
diff --git a/hw/xquartz/darwinfb.h b/hw/xquartz/darwinfb.h
index dab6d4b86..75055662c 100644
--- a/hw/xquartz/darwinfb.h
+++ b/hw/xquartz/darwinfb.h
@@ -31,20 +31,20 @@
#include "scrnintstr.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;
+ 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;
#define MASK_LH(l,h) (((1 << (1 + (h) - (l))) - 1) << (l))
@@ -53,4 +53,4 @@ typedef struct {
#define RM_ARGB(a,r,g,b) MASK_LH((b) + (g), (b) + (g) + (r) - 1)
#define AM_ARGB(a,r,g,b) MASK_LH((b) + (g) + (r), (b) + (g) + (r) + (a) - 1)
-#endif /* _DARWIN_FB_H */
+#endif /* _DARWIN_FB_H */