From 7a7ff65ac53cab72eddf2838000fbf95f5de9f42 Mon Sep 17 00:00:00 2001 From: smatz Date: Wed, 18 Jun 2008 21:19:04 +0000 Subject: (svn r13571) -Codechange: define channels in struct Colour in different order on LE and BE machines --- src/os/macosx/splash.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/os/macosx') 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; -- cgit v1.2.3-70-g09d2