diff options
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) |
