diff options
Diffstat (limited to 'src/post/goom/goom_graphic.h')
-rw-r--r-- | src/post/goom/goom_graphic.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/post/goom/goom_graphic.h b/src/post/goom/goom_graphic.h index 1d78f1d4e..9deaf5a91 100644 --- a/src/post/goom/goom_graphic.h +++ b/src/post/goom/goom_graphic.h @@ -25,6 +25,10 @@ extern const Color VIOLET; #define G_CHANNEL 0x00FF0000 #define R_CHANNEL 0x0000FF00 #define A_CHANNEL 0x000000FF +#define B_OFFSET 24 +#define G_OFFSET 16 +#define R_OFFSET 8 +#define A_OFFSET 0 typedef union _PIXEL { struct { @@ -43,6 +47,10 @@ typedef union _PIXEL { #define R_CHANNEL 0x00FF0000 #define G_CHANNEL 0x0000FF00 #define B_CHANNEL 0x000000FF +#define A_OFFSET 24 +#define R_OFFSET 16 +#define G_OFFSET 8 +#define B_OFFSET 0 typedef union _PIXEL { struct { |