summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Bursa <james@netsurf-browser.org>2008-02-03 19:09:48 (GMT)
committer James Bursa <james@netsurf-browser.org>2008-02-03 19:09:48 (GMT)
commit2170c081629600aa9c21a0ed683db3131ba4337d (patch)
treeaca983fe664ace7689ab15dc1009a151750eeabd
parent508052e6ae2ce1b98735e133433009cc5274cb32 (diff)
downloadlibsvgtiny-2170c081629600aa9c21a0ed683db3131ba4337d.tar.gz
libsvgtiny-2170c081629600aa9c21a0ed683db3131ba4337d.tar.bz2
Use BBGGRR instead of RRGGBB on RISC OS.
svn path=/trunk/libsvgtiny/; revision=3835
-rw-r--r--svgtiny.h4
1 files changed, 4 insertions, 0 deletions
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;