From d14d5731d81b2f90070044706e05538c6678bd19 Mon Sep 17 00:00:00 2001 From: Jonathan G Rennison Date: Tue, 7 Mar 2017 23:37:06 +0000 Subject: [PATCH] Fix wrong palette being used when switching to animated blitter. Fixes black sprites and UI elements when switching on full animations on win32 and OSX. --- src/blitter/32bpp_anim.hpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/blitter/32bpp_anim.hpp b/src/blitter/32bpp_anim.hpp index 70471f690c..c1b6b0804e 100644 --- a/src/blitter/32bpp_anim.hpp +++ b/src/blitter/32bpp_anim.hpp @@ -31,7 +31,9 @@ public: anim_buf_width(0), anim_buf_pitch(0), anim_buf_height(0) - {} + { + this->palette = _cur_palette; + } ~Blitter_32bppAnim();