diff options
author | truelight <truelight@openttd.org> | 2007-06-19 15:04:08 +0000 |
---|---|---|
committer | truelight <truelight@openttd.org> | 2007-06-19 15:04:08 +0000 |
commit | 1c4760ee06fb632d27648175f7bab433b32c1892 (patch) | |
tree | aacf68dc44607bc64afffcb18f3bcbf65d05d654 /src/os | |
parent | 9ad02c11c62bec4027f36fadbab9d81180dc2721 (diff) | |
download | openttd-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.cpp | 2 |
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); |