diff --git a/JGE/include/JTypes.h b/JGE/include/JTypes.h index 28896573f..307ceb14c 100644 --- a/JGE/include/JTypes.h +++ b/JGE/include/JTypes.h @@ -165,7 +165,7 @@ typedef uint32_t u32; #if defined (ABGR8888) #ifndef ARGB -#define ARGB(a, r, g, b) (PIXEL_TYPE)((a << 24) | (b << 16) | (g << 8) | r) // macro to assemble pixels in correct format +#define ARGB(a, r, g, b) ((a << 24) | (b << 16) | (g << 8) | r) // macro to assemble pixels in correct format #endif #define MAKE_COLOR(a, c) (a << 24 | c) #define MASK_ALPHA 0xFF000000 // masks for accessing individual pixels