diff options
-rw-r--r-- | color.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -144,6 +144,6 @@ linear2srgb(Color c) ulong rgba2xrgb(ulong c) { - return (c & 0xFF)<<24|(c>>8 & 0xFF)<<16| - (c>>16 & 0xFF)<<8|(c>>24 & 0xFF); + return (c & 0xFF)<<24|(c>>24 & 0xFF)<<16| + (c>>16 & 0xFF)<<8|(c>>8 & 0xFF); } |