--- a/src/gfx.cpp Tue Jun 19 15:34:43 2007 +0000
+++ b/src/gfx.cpp Tue Jun 19 15:40:27 2007 +0000
@@ -663,9 +663,9 @@
{
memcpy(_cur_palette, _palettes[_use_dos_palette ? 1 : 0], sizeof(_cur_palette));
+ DoPaletteAnimations();
_pal_first_dirty = 0;
_pal_count_dirty = 255;
- DoPaletteAnimations();
}
#define EXTR(p, q) (((uint16)(_timer_counter * (p)) * (q)) >> 16)
--- a/src/video/cocoa_v.mm Tue Jun 19 15:34:43 2007 +0000
+++ b/src/video/cocoa_v.mm Tue Jun 19 15:40:27 2007 +0000
@@ -968,10 +968,6 @@
static void QZ_UpdateWindowPalette(uint start, uint count)
{
- /* We can only update the palette in 8bpp for now */
- /* TODO -- We need support for other bpps too! */
- if (BlitterFactoryBase::GetCurrentBlitter()->GetScreenDepth() != 8) return;
-
uint i;
switch (_cocoa_video_data.device_bpp) {
--- a/src/video/win32_v.cpp Tue Jun 19 15:34:43 2007 +0000
+++ b/src/video/win32_v.cpp Tue Jun 19 15:40:27 2007 +0000
@@ -64,10 +64,6 @@
static void UpdatePalette(HDC dc, uint start, uint count)
{
- /* We can only update the palette in 8bpp for now */
- /* TODO -- We need support for other bpps too! */
- if (BlitterFactoryBase::GetCurrentBlitter()->GetScreenDepth() != 8) return;
-
RGBQUAD rgb[256];
uint i;