diff options
author | smatz <smatz@openttd.org> | 2008-06-18 21:19:04 +0000 |
---|---|---|
committer | smatz <smatz@openttd.org> | 2008-06-18 21:19:04 +0000 |
commit | 7a7ff65ac53cab72eddf2838000fbf95f5de9f42 (patch) | |
tree | 4997235d0f8568325d0c8f7c1412cca55e69496d /src/os | |
parent | bc12e5453cca334705fe9d280a015e6c58a83dd6 (diff) | |
download | openttd-7a7ff65ac53cab72eddf2838000fbf95f5de9f42.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.cpp | 2 |
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; |