diff options
| author | Simon Robertshaw <simon@hardwired.org.uk> | 2011-10-20 14:37:21 (GMT) |
|---|---|---|
| committer | Simon Robertshaw <simon@hardwired.org.uk> | 2011-10-20 14:37:21 (GMT) |
| commit | 2b56d31610c1c9be6c09e539cf8e344bc8becbc9 (patch) | |
| tree | 0f2904e9ec815d54c9b1a858285bc7363497b86c /includes | |
| parent | d156beab7d54d5b87671988f0cb9277753e78e92 (diff) | |
| download | powder-2b56d31610c1c9be6c09e539cf8e344bc8becbc9.zip powder-2b56d31610c1c9be6c09e539cf8e344bc8becbc9.tar.gz | |
Rendering, Glow and UI alpha fixes
Diffstat (limited to 'includes')
| -rw-r--r-- | includes/graphics.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/includes/graphics.h b/includes/graphics.h index 8567226..35fb4dc 100644 --- a/includes/graphics.h +++ b/includes/graphics.h @@ -29,6 +29,8 @@ #elif defined(PIX32OGL) #define PIXPACK(x) (0xFF000000|((x)&0xFFFFFF)) #define PIXRGB(r,g,b) (0xFF000000|((r)<<16)|((g)<<8)|((b)))// (((b)<<16)|((g)<<8)|(r)) +#define PIXRGBA(r,g,b,a) (((a)<<24)|((r)<<16)|((g)<<8)|((b)))// (((b)<<16)|((g)<<8)|(r)) +#define PIXA(x) (((x)>>24)&0xFF) #define PIXR(x) (((x)>>16)&0xFF) #define PIXG(x) (((x)>>8)&0xFF) #define PIXB(x) ((x)&0xFF) |
