summaryrefslogtreecommitdiff
path: root/src/os/macosx
diff options
context:
space:
mode:
authortruelight <truelight@openttd.org>2007-06-19 15:04:08 +0000
committertruelight <truelight@openttd.org>2007-06-19 15:04:08 +0000
commitcd10965a27fcca672b775928899c3e3777328b8b (patch)
treeaacf68dc44607bc64afffcb18f3bcbf65d05d654 /src/os/macosx
parentb63c8b8342b03b813d7c005f48b790634995c7bf (diff)
downloadopenttd-cd10965a27fcca672b775928899c3e3777328b8b.tar.xz
(svn r10216) -Fix: palette animation always redid all palette entries, where in fact only a few indexes were needed
-Codechange: allow blitters to handle palette animation internally or even disable it; 8bpp uses video-backend for palette animation
Diffstat (limited to 'src/os/macosx')
-rw-r--r--src/os/macosx/splash.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/os/macosx/splash.cpp b/src/os/macosx/splash.cpp
index 5933b808d..927f8d5ea 100644
--- a/src/os/macosx/splash.cpp
+++ b/src/os/macosx/splash.cpp
@@ -128,7 +128,7 @@ void DisplaySplashImage()
_cur_palette[0xff].b = 0;
_pal_first_dirty = 0;
- _pal_last_dirty = 0xff;
+ _pal_count_dirty = 255;
png_destroy_read_struct(&png_ptr, &info_ptr, &end_info);
fclose(f);