summaryrefslogtreecommitdiff
path: root/src/os
diff options
context:
space:
mode:
authorsmatz <smatz@openttd.org>2008-06-18 21:19:04 +0000
committersmatz <smatz@openttd.org>2008-06-18 21:19:04 +0000
commit5259d13da7db6583b0ac2ead56572ced6c679dac (patch)
tree4997235d0f8568325d0c8f7c1412cca55e69496d /src/os
parent25db4b3aae9e534de31b1baf71d917f15675ef6e (diff)
downloadopenttd-5259d13da7db6583b0ac2ead56572ced6c679dac.tar.xz
(svn r13571) -Codechange: define channels in struct Colour in different order on LE and BE machines
Diffstat (limited to 'src/os')
-rw-r--r--src/os/macosx/splash.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/os/macosx/splash.cpp b/src/os/macosx/splash.cpp
index 6e60b12ca..41a714a78 100644
--- a/src/os/macosx/splash.cpp
+++ b/src/os/macosx/splash.cpp
@@ -124,11 +124,13 @@ void DisplaySplashImage()
}
for (i = 0; i < num_palette; i++) {
+ _cur_palette[i].a = i == 0 ? 0 : 0xff;
_cur_palette[i].r = palette[i].red;
_cur_palette[i].g = palette[i].green;
_cur_palette[i].b = palette[i].blue;
}
+ _cur_palette[0xff].a = 0xff;
_cur_palette[0xff].r = 0;
_cur_palette[0xff].g = 0;
_cur_palette[0xff].b = 0;