From: James Bursa Date: Sun, 3 Feb 2008 19:09:48 +0000 (-0000) Subject: Use BBGGRR instead of RRGGBB on RISC OS. X-Git-Url: https://gitweb.michael.orlitzky.com/?a=commitdiff_plain;h=2170c081629600aa9c21a0ed683db3131ba4337d;p=libsvgtiny.git Use BBGGRR instead of RRGGBB on RISC OS. svn path=/trunk/libsvgtiny/; revision=3835 --- diff --git a/svgtiny.h b/svgtiny.h index 534da2d..215744d 100644 --- a/svgtiny.h +++ b/svgtiny.h @@ -12,7 +12,11 @@ typedef int svgtiny_colour; #define svgtiny_TRANSPARENT 0x1000000 +#ifdef riscos +#define svgtiny_RGB(r, g, b) ((b) << 16 | (g) << 8 | (r)) +#else #define svgtiny_RGB(r, g, b) ((r) << 16 | (g) << 8 | (b)) +#endif struct svgtiny_shape { float *path;