summaryrefslogtreecommitdiff
path: root/src/os
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
commit1c4760ee06fb632d27648175f7bab433b32c1892 (patch)
treeaacf68dc44607bc64afffcb18f3bcbf65d05d654 /src/os
parent9ad02c11c62bec4027f36fadbab9d81180dc2721 (diff)
downloadopenttd-1c4760ee06fb632d27648175f7bab433b32c1892.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')
-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);