mirror of
https://github.com/AxioDL/zeus.git
synced 2025-07-06 21:26:00 +00:00
MSVC build fix for COLOR macro
This commit is contained in:
parent
f3630be9de
commit
6e865b656a
@ -18,8 +18,8 @@
|
|||||||
|
|
||||||
#if BYTE_ORDER == __ORDER_LITTLE_ENDIAN__
|
#if BYTE_ORDER == __ORDER_LITTLE_ENDIAN__
|
||||||
#define COLOR(rgba) \
|
#define COLOR(rgba) \
|
||||||
(unsigned)(((rgba)&0x000000FF) << 24 | ((rgba)&0x0000FF00) << 8 | ((rgba)&0x00FF0000) >> 8 | \
|
(zeus::Comp32)(((rgba)&0x000000FF) << 24 | ((rgba)&0x0000FF00) << 8 | ((rgba)&0x00FF0000) >> 8 | \
|
||||||
((rgba)&0xFF000000) >> 24)
|
((rgba)&0xFF000000) >> 24)
|
||||||
#else
|
#else
|
||||||
#define COLOR(rgba) rgba
|
#define COLOR(rgba) rgba
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user